Security mailing lists by PureSourceCode

GHSA-hpr5-wp7c-hh5q

HIGH

Cross-Site Scripting in mrk.js

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.

Published
1 Sep 2020
Last modified
23 Sep 2021
Weakness
CWE-79
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm mrk.js < 2.0.1 2.0.1

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.