CVE-2024-21535Published Oct 15, 2024 · Oct 15Updated Oct 28
Cross site scripting in markdown-to-jsx
markdown-to-jsx
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| markdown-to-jsx npm |
|
|
Original description
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.
From the CVE record · snyk