Skip to main content
CVE-2024-21535VulnerabilityPublished Updated

Node markdown to jsx: Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting

Affects node-markdown-to-jsxSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.1 Medium.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-markdown-to-jsxpkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=stonkingOther threatsAffected
  • =7.2.0+dfsg-3
  • =7.2.0+dfsg-4
Fixed in–
Ubuntu 26.04 LTSnode-markdown-to-jsxpkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=resoluteOther threatsAffected
  • =7.2.0+dfsg-3
Fixed in–
Ubuntu 25.10node-markdown-to-jsxpkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=questingOther threatsAffected
  • =7.2.0+dfsg-2
  • =7.2.0+dfsg-3
Fixed in–
Ubuntu 24.04 LTSnode-markdown-to-jsxpkg:deb/ubuntu/node-markdown-to-jsx?arch=source&distro=nobleOther threatsAffected
  • =7.2.0+dfsg-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…