CVE-2024-21535

published 15 Oct 2024 · updated 15 Oct 2024

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…

6.1MediumCVSS 6.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 7.4.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<7.4.07.4.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21535 severity on Zeptric[![CVE-2024-21535](https://zeptric.io/badge/cve/CVE-2024-21535.svg)](https://zeptric.io/cve/CVE-2024-21535)