CVE-2009-3724 Cross-site scripting in markdown2 for python
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.
| Package | Affected | Fixed in |
|---|---|---|
markdown2 PyPI | All versions | 1.0.1.14 |
markdown2 PyPI | All versions | 1.0.1.14 |
markdown2 PyPI | All versions | 1.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.
Other vulnerabilities in python-markdown2
Sources
Also known as GHSA-72cx-5ff9-4hhc, PYSEC-2020-235, SNYK-PYTHON-PYRAD-40000.