CVE-2020-11888: XSS in python-markdown2

CVE-2020-11888 · Severity: low · CVSS 3.1 · Published 2020-04-20

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.

Technologies: markdown2 (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2020-11888 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-11888 being exploited in the wild.
How severe is CVE-2020-11888?
Low severity, with a CVSS score of 3.1, published 20 April 2020.
Which products and versions are affected?
markdown2 (PyPI) ECOSYSTEM:introduced=0,fixed=2.3.9.
Is there a fix for CVE-2020-11888?
Yes. markdown2 (PyPI): upgrade to 2.3.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-11888?
Check whether you run markdown2 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • markdown2 (PyPI): upgrade to 2.3.9 or later
    pip install "markdown2>=2.3.9"

Affected products

  • markdown2 (PyPI) ECOSYSTEM:introduced=0,fixed=2.3.9

Identifiers

  • CVE-2020-11888
  • GHSA-fv3h-8x5j-pvgq
  • PYSEC-2020-65

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.