GHSA-hpr5-wp7c-hh5qHighDisclosed before NVD

Cross-Site Scripting in mrk.js

Published
September 1, 2020
Last Modified
January 9, 2023

📋 Description

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.

🎯 Affected products1

  • npm/mrk.js:< 2.0.1

🔗 References (3)