Intel

AIKIDO-2025-10834

markdown-to-jsx is vulnerable to Improper Input Validation

Improper Input Validation Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

30

Low Risk

This Affects:

JSmarkdown-to-jsx
7.0.0 - 8.0.0
Fixed in 9.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Improper Input Validation, characterized by insufficient URL sanitization against javascript:, vbscript:, and malicious data: URLs, and the default disabling of tagfilter, which escapes dangerous HTML tags in both HTML and React output. An attacker could exploit this by crafting and injecting malicious input that bypasses these protections, leading to cross-site scripting (XSS) attacks or other client-side code-execution vulnerabilities.

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 Improper Input Validation in versions 7.0.0 - 8.0.0.

How to fix this

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