Vulnerability
CVE-2021-43818
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.
38 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2023-1956
Amazon Linux 2 2017.12 - ALAS2-2023-1956: important priority package update for python-lxml
-
ALAS2023-2023-034
Amazon Linux 2023 - ALAS2023-2023-034: Important priority package update for python-lxml
-
ALPINE-CVE-2021-43818
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files…
- ALPINE-EDGE-CVE-2021-43818
-
ALSA-2022:1763
Moderate: python39:3.9 and python39-devel:3.9 security update
-
ALSA-2022:1764
Moderate: python38:3.8 and python38-devel:3.8 security update
-
ALSA-2022:1821
Moderate: python27:2.7 security update
-
ALSA-2022:1932
Moderate: python-lxml security update
-
AZL-7025
CVE-2021-43818 affecting package python-lxml for versions less than 4.8.0-1
-
DEBIAN-CVE-2021-43818
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files…
-
DLA-2871-1
lxml - security update
-
DSA-5043-1
lxml - security update
-
ELSA-2022-1763
ELSA-2022-1763: python39:3.9 and python39-devel:3.9 security update (MODERATE)
-
ELSA-2022-1764
ELSA-2022-1764: python38:3.8 and python38-devel:3.8 security update (MODERATE)
-
ELSA-2022-1821
ELSA-2022-1821: python27:2.7 security update (MODERATE)
-
ELSA-2022-1932
ELSA-2022-1932: python-lxml security update (MODERATE)
-
ELSA-2022-9341
ELSA-2022-9341: ol-automation-manager security update (IMPORTANT)
-
GHSA-55x5-fj6c-h6m8
lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through
-
OESA-2022-1482
python-lxml security update
-
PYSEC-2021-852
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files…
-
RHSA-2022:1664
Red Hat Security Advisory: Red Hat Software Collections security update
-
RHSA-2022:1763
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
-
RHSA-2022:1764
Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update
-
RHSA-2022:1821
Red Hat Security Advisory: python27:2.7 security update
-
RHSA-2022:1932
Red Hat Security Advisory: python-lxml security update
-
RHSA-2022:5498
Red Hat Security Advisory: Satellite 6.11 Release
-
RHVEX-CVE-2021-43818
python-lxml: HTML Cleaner allows crafted and SVG embedded scripts to pass through
-
RLSA-2022:1763
Moderate: python39:3.9 and python39-devel:3.9 security update
-
RLSA-2022:1764
Moderate: python38:3.8 and python38-devel:3.8 security update
-
RLSA-2022:1821
Moderate: python27:2.7 security update
-
RLSA-2022:1932
Moderate: python-lxml security update
-
RLSA-2022:5498
Moderate: Satellite 6.11 Release
-
SUSE-SU-2022:0803-1
Security update for python-lxml
-
SUSE-SU-2022:0895-1
Security update for python-lxml
-
SUSE-SU-2022:1729-1
Security update for ardana-barbican, grafana, openstack-barbican, openstack-cinder, openstack-heat-gbp, openstack-horizon-plugin-gbp-ui, openstack-ironic, openstack-keystone, openstack-neutron-gbp, python-lxml,…
-
UBUNTU-CVE-2021-43818
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files…
-
USN-5225-1
lxml vulnerability
-
openSUSE-SU-2022:0803-1
Security update for python-lxml
References
- https://github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a
- https://github.com/lxml/lxml/commit/a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c#diff-59130575b4fb2932c957db2922977d7d89afb0b2085357db1a14615a2fcad776
- https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0
- https://github.com/lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8
- https://lists.debian.org/debian-lts-announce/2021/12/msg00037.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUIS2KE3HZ2AAQKXFLTJFZPP2IFHJTC7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V2XMOM5PFT6U5AAXY6EFNT5JZCKKHK2V/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WZGNET2A4WGLSUXLBFYKNC5PXHQMI3I7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQ4SPKJX3RRJK4UWA6FXCRHD2TVRQI44/
- https://security.gentoo.org/glsa/202208-06
- https://security.netapp.com/advisory/ntap-20220107-0005/
- https://www.debian.org/security/2022/dsa-5043
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html