ADVISORIES

Vulnerability

CVE-2024-21535

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1npm 1

Advisories

  • DEBIAN-CVE-2024-21535

    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…

    CVE-2024-21535 Debian Updated 2 November 2026
  • GHSA-4wx3-54gh-9fr9

    Cross site scripting in markdown-to-jsx

    Moderate CVE-2024-21535 npm Updated 15 October 2024
  • UBUNTU-CVE-2024-21535

    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…

    CVE-2024-21535 Ubuntu Updated 17 October 2026

References