Intel

AIKIDO-2025-10267

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

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

61

Medium Risk

This Affects:

jsmarkdown-to-jsx
7.0.0 - 7.7.5
Fixed in 7.7.6

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.

Who does this affect?

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

Background info

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

How to fix this

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