UnratednpmAmendedPublished
Cross-Site Scripting in ngx-md
GHSA-xr53-m937-jr9c
- Affected
- npm ngx-md < 6.0.3
- Fixed in
- 6.0.3· Vendor fix available
- Issue
- 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 Upgrade to version 6.0.3 or later.
Recommended action: Upgrade to 6.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.