UnratednpmAmendedPublished
Cross-Site Scripting in mrk.js
GHSA-hpr5-wp7c-hh5q
- Affected
- npm mrk.js < 2.0.1
- Fixed in
- 2.0.1· Vendor fix available
- Issue
- Versions of mrk.js before 2.0.1 are vulnerable to cross-site scripting (XSS) when markdown is converted to HTML. Recommendation Update to version 2.0.1 or later and use mark.sanitizeURL() for any src and href attributes when extending the markdown.
Recommended action: Upgrade to 2.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.