CVE-2024-21535

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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
snykCNA
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 5%
VendorProductVersion
markdown-to-jsxmarkdown-to-jsx
𝑥
< 7.4.0
quantizormarkdown-to-jsx
𝑥
< 7.4.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-markdown-to-jsx
sid
7.2.0+dfsg-3
fixed
trixie
7.2.0+dfsg-3
fixed