CVE-2020-11888
6.1medium
XSS in python-markdown2
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.93% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fv3h-8x5j-pvgqPYSEC-2020-65
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| markdown2 (PyPI) | before 2.3.9 | GitHub Advisory Database, PyPA Advisory Database |
| python-markdown2_project python-markdown2 | up to 2.3.8 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
python-markdown2 versiones hasta 2.3.8, permite un ataque de tipo XSS porque los nombres de los elementos se manejan inapropiadamente a menos que una coincidencia de \w+ tenga éxito. Por ejemplo, un ataque podría usar elementname@ o elementname- con un atributo onclick.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-11888 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fv3h-8x5j-pvgq changed 2024-09-24 | CC-BY-4.0 |
| NVD | CVE-2020-11888 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-65 changed 2023-11-08 | CC-BY-4.0 |