Description
Versions of ngx-md prior to 6.0.3 are vulnerable to Cross-Site Scripting. Links are not properly restricted to http/https and can contain JavaScript which may lead to arbitrary code execution. Markdown input such as Click Me is rendered as a Click Me link that executes JavaScript.
Recommendation
Update the ngx-md package to the latest compatible version. Followings are version details:
- Affected version(s): < 6.0.3
- Patched version(s): 6.0.3
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site Scripting in ngx-md and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Stimulsoft Dashboard.JS Cross Site Scripting vulnerability - stimulsoft-dashboards-js - CVE-2024-24397
- CKEditor4 Cross-site Scripting vulnerability caused by incorrect CDATA detection - CVE-2024-24815
- RSSHub Cross-site Scripting vulnerability caused by internal media proxy - CVE-2024-27926
- TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements - CVE-2024-29881


