GitHub Advisoryadvisory · PyPI
GHSA-fv3h-8x5j-pvgq XSS in python-markdown2
MEDIUM
Official page ↗
- Aliases
- CVE-2020-11888
- Ecosystem
- PyPI
- Packages
- markdown2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-04-22
Affected packages
• PyPI markdown2: < 2.3.9 → fixed in 2.3.9
Description
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.
Related
Alias · CVE (1)
- CVE-2020-11888 python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \w+ match succeeds. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-11888 advisory
- https://github.com/trentm/python-markdown2/issues/348 web
- https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2020-65.yaml web
- https://github.com/trentm/python-markdown2 package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED web
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html web