CVE catalog

CVE-2020-11888

python-markdown2: CVE-2020-11888

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.93% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-markdown2sid2.5.4-4fixed
Debianpython-markdown2forky2.5.4-4fixed
Debianpython-markdown2trixie2.4.11-1fixed
Debianpython-markdown2bookworm2.4.1-1fixed
Susepython-markdown2package hub 15 sp12.3.7-bp151.2.3.1fixed
Opensusepython-markdown2leap 15.12.3.7-lp151.2.3.1fixed
Ubuntupython-markdown220.042.3.7-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-markdown2sourcesid2.3.9-1not yet assignedNot reported[959445]
Debianpython-markdown2sourceforky2.3.9-1not yet assignedNot reported[959445]
Debianpython-markdown2sourcetrixie2.3.9-1not yet assignedNot reported[959445]
Debianpython-markdown2sourcebookworm2.3.9-1not yet assignedNot reported[959445]
Susepython-markdown2rpmpackage hub 15 sp12.3.7-bp151.2.3.1Not reportedOPENSUSE-SU-2020:0656-1Not reported
Opensusepython-markdown2rpmleap 15.12.3.7-lp151.2.3.1Not reportedOPENSUSE-SU-2020:0651-1Not reported

[Debian bug #959445]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-markdown2]

    Details (2)
    • 2.4.1-1 · all · bookworm

      Fixed · Fixed: 2.3.9-1

      dsa · python-markdown2 · debian · bookworm; dsa · python-markdown2 · debian · 12

    • 2.4.1-1 · all · bookworm

      Fixed · Fixed: 2.3.9-1

      dsa · python-markdown2 · debian · bookworm; dsa · python-markdown2 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-markdown2]

    Details (2)
    • 2.4.11-1 · all · trixie

      Fixed · Fixed: 2.3.9-1

      dsa · python-markdown2 · debian · 13

    • 2.4.11-1 · all · trixie

      Fixed · Fixed: 2.3.9-1

      dsa · python-markdown2 · debian · 13

Observed:

References