Intel

AIKIDO-2024-10329

markdown2 is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 10, 2024

60

Medium Risk

This Affects:

pythonmarkdown2
1.0.0 - 2.5.0
Fixed in 2.5.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) because the escape functionality fails to sanitize all dangerous characters effectively.

Who does this affect?

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

Background info

markdown2 is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 2.5.0.

How to fix this

Upgrade the markdown2 library to the patch version.