CVE-2020-27783
Aliases:GHSA-pgww-xf46-h92rPYSEC-2020-62
Advisory lineage Upstream: 0 Downstream: 19
Modified
Published: 03 Dec 2020, 16:39
Last modified:17 Dec 2025, 21:02
Vulnerability Summary
Overall Risk (default)
medium
35/100 CVSS Score
6.1 MEDIUM
v3.1 (cve.org)
EPSS Score
1.25% LOW
1% probability +0.11%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected
Timeline
03 Dec 2020, 16:39
Published
Vulnerability first disclosed
17 Dec 2025, 21:02
Last Modified
Vulnerability information updated
Description
A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- v3.1•MEDIUM•Score: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 1.25%• Percentile: 80%
Techniques & Countermeasures
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected Systems
- debian•debian_linux
9.0 | 10.0
- fedoraproject•fedora
32 | 33
- lxml•lxml
≥ 1.2, < 4.6.2
- netapp•snapcenter
na
- oracle•communications_offline_mediation_controller
12.0.0.3.0
- oracle•zfs_storage_appliance_kit
8.8
- PyPI•lxml
< 4.6.2 | ≥ 1.2, < 4.6.2
- redhat•enterprise_linux
8.0
- redhat•software_collections
na
References (22)
- https://bugzilla.redhat.com/show_bug.cgi?id=1901633
- https://www.debian.org/security/2020/dsa-4810
- https://lists.debian.org/debian-lts-announce/2020/12/msg00028.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://advisory.checkmarx.net/advisory/CX-2020-4286
- https://security.netapp.com/advisory/ntap-20210521-0003/
- https://nvd.nist.gov/vuln/detail/CVE-2020-27783
- https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7
- https://snyk.io/vuln/SNYK-PYTHON-LXML-1047473
- https://security.netapp.com/advisory/ntap-20210521-0003
- https://pypi.org/project/lxml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml
- https://github.com/lxml/lxml
- https://github.com/advisories/GHSA-pgww-xf46-h92r
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK/