Read the docs
TI-2020-19433 Aliases GHSA-hpr5-wp7c-hh5q

Cross-Site Scripting in mrk.js

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Fix Fixed mrk.js (npm): 2.0.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mrk.js (npm)before 2.0.12.0.1Patch availableGHSA-hpr5-wp7c-hh5q
  • mrk.js (npm) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-hpr5-wp7c-hh5q

Remediation

  • Fix · GHSA-hpr5-wp7c-hh5q mrk.js (npm) Fixed in 2.0.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-hpr5-wp7c-hh5q

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences