GitHub Advisoryadvisory · npm
GHSA-4wx3-54gh-9fr9 Cross site scripting in markdown-to-jsx
MEDIUM
Official page ↗
- Aliases
- CVE-2024-21535
- Ecosystem
- npm
- Packages
- markdown-to-jsx
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-10-15
Affected packages
• npm markdown-to-jsx: < 7.4.0 → fixed in 7.4.0
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness