cve.bz

CVE-2024-21535

6.1 mediumEPSS 0.5%

Medium (6.1) in quantizor markdown-to-jsx. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in markdown-to-jsx 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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4wx3-54gh-9fr9npmmarkdown-to-jsx<7.4.07.4.0

References

Check your stackJSON