Skip to main content
← All vulnerabilities
CVE-2024-21535GHSA-4WX3-54GH-9FR9

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a markdown-to-jsx

    fixed in 7.4.0

  • markdown-to-jsxnpm

    fixed in 7.4.0

References 2

security.snyk.io

GitHub · quantizor/markdown-to-jsx