Intel

AIKIDO-2025-10267

markdown-to-jsx is vulnerable to Cross-site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 25, 2025
April 25, 2025

61

CVE Score

Medium

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package fail to properly sanitize user-supplied input in multiple HTML attributes, enabling stored or reflected XSS attacks. An attacker could exploit this by injecting malicious scripts into web pages, compromising user sessions, or redirecting to phishing sites.

How do I fix this?

Upgrade the markdown-to-jsx library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

7.0.0 - 7.7.5

Fixed in 7.7.6

Background info

markdown-to-jsx is vulnerable to Cross-site Scripting (XSS) in versions 7.0.0 - 7.7.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea