CVE-2009-3724 Cross-site scripting in markdown2 for python

Medium 6.1 Published Updated

Attackers can inject malicious scripts via markdown input, potentially executing code in the context of users viewing the rendered content.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-3724?

CVE-2009-3724 is a medium-severity cross-site scripting vulnerability in python-markdown2, published on 15 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

python-markdown2 before 1.0.1.14 has multiple cross-site scripting (XSS) issues.

Weakness: CWE-79

Which versions are affected by CVE-2009-3724?

3 open source packages ship an affected version, including markdown2. It affects 1 product.

PackageAffectedFixed in
markdown2 PyPIAll versions1.0.1.14
markdown2 PyPIAll versions1.0.1.14
markdown2 PyPIAll versions1.0.1.14

Products include Python-Markdown2 Project Python-Markdown2.

How do I fix CVE-2009-3724?

Upgrade markdown2 to 1.0.1.14 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2009-3724 being exploited?

There is no known exploitation of CVE-2009-3724 in the wild and no public exploit code.

Sources

Also known as GHSA-72cx-5ff9-4hhc, PYSEC-2020-235, SNYK-PYTHON-PYRAD-40000.

Is CVE-2009-3724 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free