CVE-2024-21535
MEDIUM EPSS 39.2%
Published Oct 15, 20241y ago · Modified Jun 17, 20261w ago
6.1 CVSS 3.1
Published Oct 15, 2024 1y ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
39.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| quantizor | markdown-to-jsx | * | <7.4.0 |
References 2
- github.com https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886
Remediation
- github.com https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a