GHSA-fv3h-8x5j-pvgq
XSS in python-markdown2
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-11888
- https://github.com/trentm/python-markdown2/issues/348
- https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2020-65.yaml
- https://github.com/trentm/python-markdown2
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html