Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-27783

published medium CVSS 3.1 · 6.1

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

Title from Red Hat VEX

Published
03 Dec 2020, 16:39:41 UTC
Updated
17 Dec 2025, 21:02:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — python-lxmllxml-4.6.2 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2021-1666 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 python-lxmlsrc Advisory build 4.2.3-2.el8 RHSA-2021:1898
SUSE / openSUSE SLE-12-SP5 python-lxmlaarch64 Advisory build 3.6.1-8.5.1 SUSE-SU-2022:0895-1
Ubuntu bionic python-lxml Advisory build 4.2.1-1ubuntu0.3 USN-4666-2
AlmaLinux 8 python-psycopg2-doc Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
Alpine Linux edge py3-lxml Fixed 4.6.2-r0 Package fix record
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian buster lxml Advisory build 4.3.2-1+deb10u1 DSA-4810-1
Oracle Linux 8 babelaarch64 · python27 · 2.7b Advisory build 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Red Hat Enterprise Linux RHEL-8 python-lxmlsrc Advisory build 4.2.3-4.module+el8.4.0+9319+a932af88 RHSA-2021:1761
Red Hat Enterprise Linux RHEL-8 python-lxmlsrc Advisory build 4.4.1-5.module+el8.4.0+9001+fc421f6c RHSA-2021:1879
SUSE / openSUSE SLE-12-SP5 python-lxmlppc64le Advisory build 3.6.1-8.5.1 SUSE-SU-2022:0895-1
SUSE / openSUSE SLE-12-SP5 python-lxmls390x Advisory build 3.6.1-8.5.1 SUSE-SU-2022:0895-1
SUSE / openSUSE SLE-12-SP5 python-lxmlx86_64 Advisory build 3.6.1-8.5.1 SUSE-SU-2022:0895-1
Ubuntu esm python-lxml Advisory build 3.3.3-1ubuntu0.2+esm2 USN-4666-2
Ubuntu focal python-lxml Advisory build 4.5.0-1ubuntu0.2 USN-4666-2
Ubuntu xenial python-lxml Advisory build 3.5.0-1ubuntu0.3 USN-4666-2
AlmaLinux 8 python-sqlalchemy-doc Advisory build 1.3.2-2.module_el8.5.0+2569+5c5719bc ALSA-2021:1761
AlmaLinux 8 python-sqlalchemy-doc Advisory build 1.3.2-2.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-Cython Advisory build 0.28.1-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-PyMySQL Advisory build 0.8.0-10.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-attrs Advisory build 17.4.0-10.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-backports Advisory build 1.0-16.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-backports-ssl_match_hostname Advisory build 3.5.0.1-12.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-chardet Advisory build 3.0.4-10.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-coverage Advisory build 4.5.1-4.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-dns Advisory build 1.15.0-10.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-docs Advisory build 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-docs-info Advisory build 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-docutils Advisory build 0.14-12.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-funcsigs Advisory build 1.0.2-13.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-idna Advisory build 2.5-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-ipaddress Advisory build 1.0.18-6.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-markupsafe Advisory build 0.23-19.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-mock Advisory build 2.0.0-13.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-numpy Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-numpy-doc Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-numpy-f2py Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pluggy Advisory build 0.6.0-8.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-psycopg2 Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-psycopg2-debug Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-psycopg2-tests Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-py Advisory build 1.5.3-6.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pysocks Advisory build 1.6.8-6.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pytest Advisory build 3.4.2-13.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pytest-mock Advisory build 1.9.0-4.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pytz Advisory build 2017.2-12.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-pyyaml Advisory build 3.12-16.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-requests Advisory build 2.20.0-3.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-rpm-macros Advisory build 3-38.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-setuptools Advisory build 39.0.1-13.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-setuptools-wheel Advisory build 39.0.1-13.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-setuptools_scm Advisory build 1.15.7-6.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-six Advisory build 1.11.0-6.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-sqlalchemy Advisory build 1.3.2-2.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python2-urllib3 Advisory build 1.24.2-3.module_el8.6.0+2781+fed64c13 ALSA-2021:1761
AlmaLinux 8 python38-Cython Advisory build 0.29.14-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-PyMySQL Advisory build 0.10.1-1.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-asn1crypto Advisory build 1.2.0-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-cffi Advisory build 1.13.2-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-chardet Advisory build 3.0.4-19.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-cryptography Advisory build 2.8-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-idna Advisory build 2.8-6.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-markupsafe Advisory build 1.1.1-6.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-mod_wsgi Advisory build 4.6.8-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-ply Advisory build 3.11-10.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-psycopg2 Advisory build 2.8.4-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-psycopg2-doc Advisory build 2.8.4-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-psycopg2-tests Advisory build 2.8.4-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-pycparser Advisory build 2.19-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-pysocks Advisory build 1.7.1-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-pytz Advisory build 2019.3-3.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-requests Advisory build 2.22.0-9.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-scipy Advisory build 1.3.1-4.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
AlmaLinux 8 python38-six Advisory build 1.12.0-10.module_el8.6.0+2778+cd494b30 ALSA-2021:1879
Alpine Linux v3.12 py3-lxml Fixed 4.5.1-r1 Package fix record
Alpine Linux v3.13 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.14 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.15 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.16 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.17 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.18 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.19 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.20 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.21 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.22 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.23 py3-lxml Fixed 4.6.2-r0 Package fix record
Alpine Linux v3.24 py3-lxml Fixed 4.6.2-r0 Package fix record
Debian stretch lxml Advisory build 3.7.1-1+deb9u1 DLA-2467-1
Oracle Linux 8 babelx86_64 · python27 · 2.7b Advisory build 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 ol-automation-managerx86_64 Advisory build 0:1.0.2-1.el8 ELSA-2022-9341
Oracle Linux 8 ol-automation-manager-clix86_64 Advisory build 0:1.0.2-1.el8 ELSA-2022-9341
Oracle Linux 8 python-nose-docsaarch64 · python27 · 2.7b Advisory build 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python-nose-docsx86_64 · python27 · 2.7b Advisory build 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python-psycopg2-docaarch64 · python27 · 2.7b Advisory build 0:2.7.5-7.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python-psycopg2-docx86_64 · python27 · 2.7b Advisory build 0:2.7.5-7.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python-sqlalchemy-docaarch64 · python27 · 2.7b Advisory build 0:1.3.2-2.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python-sqlalchemy-docx86_64 · python27 · 2.7b Advisory build 0:1.3.2-2.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python2aarch64 · python27 · 2.7b Advisory build 0:2.7.18-4.0.1.module+el8.4.0+20050+79c7b4ee ELSA-2021-1761
Oracle Linux 8 python2x86_64 · python27 · 2.7b Advisory build 0:2.7.18-4.0.1.module+el8.4.0+20050+79c7b4ee ELSA-2021-1761
Oracle Linux 8 python2-Cythonaarch64 · python27 · 2.7b Advisory build 0:0.28.1-7.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761
Oracle Linux 8 python2-Cythonx86_64 · python27 · 2.7b Advisory build 0:0.28.1-7.module+el8.3.0+7833+4aaf98ce ELSA-2021-1761

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

46

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.1 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a python-lxml lxml-4.6.2 (affected) redhat · cna

Weaknesses

1
  • CWE-79 (redhat · cna)

References

8

Provider assertions

3

redhat · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
dcf51a25fbb98f50f1d80525f95182ca81cf581012e9937907041b12c5812e25
Ingested
23 Sep 2026, 07:49:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected