CVE-2024-21535

Summary

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 Software

VendorProductVersion RangeStatus
n/amarkdown-to-jsx0 < 7.4.0affected

Weaknesses

  • CWE-79: Cross-site Scripting (XSS)

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References