All reports
Medium

Cross site scripting in markdown-to-jsx

Affected versions

Affected versions
< 7.4.0
Fixed version
7.4.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-21535

Probability of exploitation in the next 30 days: 0.52%

FIRST EPSS · 2026-11-19

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.

Links