CVE-2020-11888
XSS in python-markdown2
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2020-11888- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-11888- Updated
- 2026-11-02
EUVDEUVD-2020-0105 No score
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.
- Record
EUVD-2020-0105- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fv3h-8x5j-pvgq
5.1
XSS in python-markdown2
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.
- Record
GHSA-fv3h-8x5j-pvgq- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2020-11888- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-11888
6.1
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.
- Record
DEBIAN-CVE-2020-11888- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-fv3h-8x5j-pvgq
5.1
XSS in python-markdown2
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.
- Record
GHSA-fv3h-8x5j-pvgq- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-11888
6.1
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.
- Record
UBUNTU-CVE-2020-11888- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0651-1 No score
Security update for python-markdown2
This update for python-markdown2 fixes the following issues:
- CVE-2020-11888: Fixed unsanitized input for cross-site scripting (boo#1171379)
- Record
openSUSE-SU-2020:0651-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0656-1 No score
Security update for python-markdown2
This update for python-markdown2 fixes the following issues:
- CVE-2020-11888: Fixed unsanitized input for cross-site scripting (boo#1171379)
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:0656-1- Updated
- 2026-11-02
OSVPYSEC-2020-65 No score
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.
- Record
PYSEC-2020-65- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
markdown2PyPI |
through 2.3.8 | 2.3.9 |
python-markdown2Debian:12 |
before 2.3.9-1 | 2.3.9-1 |
python-markdown2Debian:13 |
before 2.3.9-1 | 2.3.9-1 |
python-markdown2Debian:14 |
before 2.3.9-1 | 2.3.9-1 |
markdown2PyPI |
before 2.3.9, plus listed versions 1.0.1.101.0.1.111.0.1.121.0.1.131.0.1.14 Show 33 moreShow less1.0.1.151.0.1.161.0.1.171.0.1.181.0.1.191.0.1.61.0.1.71.0.1.81.0.1.91.1.01.1.11.2.01.3.01.3.11.4.01.4.11.4.22.0.02.0.12.1.02.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.42.3.52.3.62.3.72.3.8 |
2.3.9 |
markdown2PyPI |
before 2.3.9, plus listed versions 1.0.1.61.0.1.71.0.1.81.0.1.91.0.1.10 Show 33 moreShow less1.0.1.111.0.1.121.0.1.131.0.1.141.0.1.151.0.1.161.0.1.171.0.1.181.0.1.191.1.01.1.11.2.01.3.01.3.11.4.01.4.11.4.22.0.02.0.12.1.02.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.42.3.52.3.62.3.72.3.8 |
2.3.9 |
python-markdown2Ubuntu:20.04:LTS |
All versions, plus listed versions 2.3.7-2 |
None known |
python-markdown2openSUSE:Leap 15.1 |
before 2.3.7-lp151.2.3.1 | 2.3.7-lp151.2.3.1 |
python-markdown2SUSE:Package Hub 15 SP1 |
before 2.3.7-bp151.2.3.1 | 2.3.7-bp151.2.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-11888 is a medium vulnerability (CVSS 6.1) in Python-markdown2 Project Python-markdown2, published April 20, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. Fixed in markdown2 2.3.9.
References
github.com/trentm/python-markdown2/issues/348
lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html
lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J
Show 14 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-11888
github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2020-65.yaml
lists.fedoraproject.org/archives/list/[email protected]/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J
lists.fedoraproject.org/archives/list/[email protected]/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV
lists.fedoraproject.org/archives/list/[email protected]/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED
github.com/advisories/GHSA-fv3h-8x5j-pvgq
security-tracker.debian.org/tracker/CVE-2020-11888
github.com/trentm/python-markdown2
ubuntu.com/security/CVE-2020-11888
cve.org/CVERecord?id=CVE-2020-11888
lists.opensuse.org/archives/list/[email protected]/thread/B4CURXVTATQIUIFDWQXVQYUATP43MCQ2
bugzilla.suse.com/1171379
suse.com/security/cve/CVE-2020-11888
lists.opensuse.org/archives/list/[email protected]/thread/ECM2WHRKL6MIR6CZ3ZIBWUNUC6OTNFFG