MediumFix available
python-markdown2 — security advisory
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.
- Products
- python-markdown2
- Affected versions
- Not specified
- Fixed versions
- 2.3.9-1
- CVEs
- CVE-2020-11888
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:29 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-11888
python-markdown2
Fixed versions: 2.3.9-1
python-markdown2
Fixed versions: 2.3.9-1
python-markdown2
Fixed versions: 2.3.9-1
Complete source record
{
"id": "9c2c170f3cd627710777d571b1b9639e60894cd1f80a934df5088a5342ddeb4b",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-11888",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-11888",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-11888",
"products": [
{
"name": {
"value": "python-markdown2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.9-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-markdown2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.9-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-markdown2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.9-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-11888",
"aliases": [
"DEBIAN-CVE-2020-11888"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.9-1"
}
]
}
],
"package": {
"name": "python-markdown2",
"purl": "pkg:deb/debian/python-markdown2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-11888.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.9-1"
}
]
}
],
"package": {
"name": "python-markdown2",
"purl": "pkg:deb/debian/python-markdown2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-11888.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.9-1"
}
]
}
],
"package": {
"name": "python-markdown2",
"purl": "pkg:deb/debian/python-markdown2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-11888.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:00:21.977482690Z",
"provider": "osv",
"upstream": [
"CVE-2020-11888"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-11888"
]
},
"related_cves": [
{
"value": "CVE-2020-11888",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451088,
"published_at": "2020-04-20T16:15:14.43+00:00"
}