All CVEs / Python-markdown2 Project
CVE-2020-11888Python-markdown2 Project Python-markdown2
Medium 6.1 No auth needed
Follow: this CVE · Python-markdown2 Project · Python-markdown2 Project Python-markdown2 We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Apr 20, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.
What to do
- Apply the vendor's security update for Python-markdown2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | markdown2 |
< 2.3.9 |
2.3.9 |
pip install "markdown2>=2.3.9" |
| PyPI | markdown2 |
< 2.3.9 |
2.3.9 |
pip install "markdown2>=2.3.9" |
Per OSV / GitHub Advisories (GHSA-fv3h-8x5j-pvgq, PYSEC-2020-65). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python-markdown2_project | python-markdown2 | ≤ 2.3.8 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- github.com Exploit Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org