CVE-2024-21535

MEDIUM

markdown-to-jsx < 7.4.0 - Cross-Site Scripting via src Property

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.1
EPSS 0.0017
EPSS Percentile 38.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
npm/markdown-to-jsx 0 - 7.4.0npm
quantizor/markdown-to-jsx < 7.4.0
Published Oct 15, 2024
Tracked Since Feb 18, 2026