GHSA-hpr5-wp7c-hh5q
JSON

high

Cross-Site Scripting in mrk.js

Severity
high rating by GitHub
Published
Last changed

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

Product or packageVersionsReported by
mrk.js (npm)before 2.0.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-hpr5-wp7c-hh5q changed 2021-09-23CC-BY-4.0