Advisory

GHSA-fv3h-8x5j-pvgq

Also known as: CVE-2020-11888, PYSEC-2020-65

Summary

XSS in python-markdown2

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-04-22 20:59 UTC
Modified
2024-09-24 20:33 UTC

Affected packages and fixes

markdown2

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.9 (ecosystem)

Fixed versions

2.3.9

Fix

  • Fixed version 2.3.9
    pip install --upgrade markdown2==2.3.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences