{"id":"DEBIAN-CVE-2024-21535","details":"Versions 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.","modified":"2026-10-01T11:02:17.163945633Z","published":"2024-10-15T05:15:11.530Z","upstream":["CVE-2024-21535"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-21535"}],"affected":[{"package":{"name":"node-markdown-to-jsx","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21535.json"}},{"package":{"name":"node-markdown-to-jsx","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-markdown-to-jsx?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.0+dfsg-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21535.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}