—
PYSEC-2020-65
Quick fix
PYSEC-2020-65 — markdown2: upgrade to the fixed version with the command below.
pip install --upgrade 'markdown2>=2.3.9'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/trentm/python-markdown2/issues/348[REPORT]
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J/[WEB]
- https://github.com/advisories/GHSA-fv3h-8x5j-pvgq[ADVISORY]