VULNERABILITY INTELLIGENCE

CVE-2024-21535

CVSS score6.1 MEDIUM
EPSS probability0.52%
CISA KEVNot currently listed
Published2024-10-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Weakness classification

  • report@snyk.io: CWE-79
  • nvd@nist.gov: CWE-79

Primary references