CVE-2020-27783
No exploitation reported by the sources we read.
- Published2020-12-03
- WeaknessCWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2020-12-0317:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2020-27783?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2020-27783?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 32.x | = 32 | no fix published | NVD |
| 33.x | = 33 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.6 | ≥ 1.2, < 4.6.2 | 4.6.2 | NVD · OSV |
| 4.6 | < 4.6.2 | 4.6.2 | OSV |
5 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- python-sqlalchemy-docAlmaLinux:8all versions · fixed in 1.3.2-2.module_el8.5.0+2569+5c5719bc
- python2-attrsAlmaLinux:8all versions · fixed in 17.4.0-10.module_el8.6.0+2781+fed64c13
- python2-backportsAlmaLinux:8all versions · fixed in 1.0-16.module_el8.6.0+2781+fed64c13
- python2-backports-ssl_match_hostnameAlmaLinux:8all versions · fixed in 3.5.0.1-12.module_el8.6.0+2781+fed64c13
- python2-chardetAlmaLinux:8all versions · fixed in 3.0.4-10.module_el8.6.0+2781+fed64c13
- python2-coverageAlmaLinux:8all versions · fixed in 4.5.1-4.module_el8.6.0+2781+fed64c13
- python2-CythonAlmaLinux:8all versions · fixed in 0.28.1-7.module_el8.6.0+2781+fed64c13
- python2-dnsAlmaLinux:8all versions · fixed in 1.15.0-10.module_el8.6.0+2781+fed64c13
41 more package ranges on OSV.dev
Vendor advisories
python-lxml: mXSS due to the use of improper parser
python-lxml.src as a component of Red Hat Enterprise Linux 5 · python-lxml.src as a component of Red Hat Enterprise Linux 6 · python-lxml-docs as a component of Red Hat Enterprise Linux 7 · +3 more
Red Hat Security Advisory: rh-python38 security, bug fix, and enhancement update
Red Hat Security Advisory: python-lxml security update
Red Hat Security Advisory: python38:3.8 security update
Red Hat Security Advisory: python27:2.7 security and bug fix update
Fix
- Vendor fix Red Hat Product Security RHSA-2021:3254 · 126 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix planned, says the vendor Red Hat Product Security CVE-2020-27783 · 5 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2020-27783 · 1 productWill not fix
Advisories and patches
- bugzilla.redhat.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2020-12-03
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2020-27783?
Is CVE-2020-27783 actively exploited?
What is the CVSS score for CVE-2020-27783?
Running lxml? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.