medium6.1
CVE-2024-21535
Cross site scripting in markdown-to-jsx
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | markdown-to-jsx | < 7.4.0 | 7.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Quantizor | Markdown-To-Jsx | before 7.4.0 |