ADVISORIES

Debian Security Tracker

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.

Affected packages

EcosystemPackageAffected versions
Debian:13node-markdown-to-jsx
All versions before 7.2.0+dfsg-3 (fixed in 7.2.0+dfsg-3)
Debian:14node-markdown-to-jsx
All versions before 7.2.0+dfsg-3 (fixed in 7.2.0+dfsg-3)

References