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
Related Issues
- Cross-Site Scripting in buefy - Vulnerability
- html2pdf.js contains a cross-site scripting vulnerability - CVE-2026-22787
- CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package - CVE-2025-58064
- QMarkdown Cross-Site Scripting (XSS) vulnerability - CVE-2025-43954
You might also like:
- Tags:
- npm
- ngx-md
Anything's wrong? Let us know Last updated on January 09, 2023


