CVE-2024-21535

NameCVE-2024-21535
DescriptionVersions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1085375

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-markdown-to-jsx (PTS)sid, trixie7.2.0+dfsg-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-markdown-to-jsxsource(unstable)(unfixed)1085375

Notes

https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886
https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a (v7.4.0)

Search for package or bug name: Reporting problems