CVE-2020-27783Cross-site Scripting in Lxml

CWE-79Cross-site Scripting10 documents8 sources
Severity
6.1MEDIUMNVD
EPSS
1.2%
top 20.68%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 3
Latest updateJan 7

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7

Affected Packages5 packages

NVDlxml/lxml1.24.6.2
PyPIlxml/lxml< 4.6.2
Debianlxml/lxml< 4.6.2-1+3

Also affects: Debian Linux 10.0, 9.0, Fedora 32, 33, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

4
OSV
lxml vulnerable to Cross-site Scripting2021-01-07
GHSA
lxml vulnerable to Cross-site Scripting2021-01-07
CVEList
CVE-2020-27783: A XSS vulnerability was discovered in python-lxml's clean module2020-12-03
OSV
CVE-2020-27783: A XSS vulnerability was discovered in python-lxml's clean module2020-12-03

📋Vendor Advisories

5
Ubuntu
lxml vulnerability2020-12-11
Ubuntu
lxml vulnerability2020-12-09
Microsoft
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 rem2020-12-08
Red Hat
python-lxml: mXSS due to the use of improper parser2020-10-18
Debian
CVE-2020-27783: lxml - A XSS vulnerability was discovered in python-lxml's clean module. The module's p...2020
CVE-2020-27783 — Cross-site Scripting in Lxml | cvebase