Read the docs
TI-2024-14291 Aliases CVE-2024-21535GHSA-4wx3-54gh-9fr9

Cross-site scripting in markdown-to-jsx

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00518 44th percentileScored 2026-11-07
Fix Partial markdown-to-jsx: 7.4.0markdown-to-jsx (npm): 7.4.0Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—markdown-to-jsxbefore 7.4.07.4.0Patch availableCNA
—markdown-to-jsx (npm)before 7.4.07.4.0Patch availableGHSA-4wx3-54gh-9fr9
  • markdown-to-jsx Vendor— Affected before 7.4.0 Fixed in 7.4.0 Patch available CNA
  • markdown-to-jsx (npm) Vendor— Affected before 7.4.0 Fixed in 7.4.0 Patch available GHSA-4wx3-54gh-9fr9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:quantizor:markdown-to-jsx:*:*:*:*:*:*:*:*before 7.4.0VulnerableQuantizor
  • cpe:2.3:a:quantizor:markdown-to-jsx:*:*:*:*:*:*:*:* Versions before 7.4.0 Vulnerable ·Quantizor

Remediation

  • Fix · CNA markdown-to-jsx Fixed in 7.4.0
  • Fix · GHSA-4wx3-54gh-9fr9 markdown-to-jsx (npm) Fixed in 7.4.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
Node HealthCheck OperatorAffectedNo fix planned: Will not fix
Red Hat OpenShift Data Science (RHODS)AffectedNo fix yet: Fix deferred
Not affected: 4 products
  • Multicluster Engine for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Developer Hub 1
  • Red Hat OpenShift Data Science (RHODS)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21535
  2. 2026-10-03 Alias added: GHSA-4wx3-54gh-9fr9
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources