NetSight
medium6.1

CVE-2024-21535

Cross site scripting in markdown-to-jsx

Impact

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 packages

EcosystemPackageAffectedFixed in
npmmarkdown-to-jsx< 7.4.07.4.0

Affected products

VendorProductAffected versions
QuantizorMarkdown-To-Jsx
before 7.4.0

Weakness classification

References