CVE-2020-27783

python-lxml: mXSS due to the use of improper parser

Published Dec 3, 2020 CVSS 3.1 · 6.1 Medium EPSS 4.0% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2467-1 lxml security update
Debian DLA Debian DLA DLA-2467-2 lxml regression update
Debian DSA Debian DSA DSA-4810-1 lxml security update
EUVD EUVD EUVD-2020-0102 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.
Github GHSA Github GHSA GHSA-pgww-xf46-h92r lxml vulnerable to Cross-site Scripting
Ubuntu USN Ubuntu USN USN-4666-1 lxml vulnerability
Ubuntu USN Ubuntu USN USN-4666-2 lxml vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 17, 2025, 9:02 PM
Reserved
Oct 27, 2020, 12:00 AM
Status
Modified
Published
Dec 3, 2020, 5:15 PM
Modified
Jun 17, 2026, 3:09 AM
Severity
Moderate
Public date
Oct 18, 2020, 12:00 AM