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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2871-1 | lxml security update |
Debian DSA |
DSA-5043-1 | lxml security update |
EUVD |
EUVD-2021-0117 | 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. |
Github GHSA |
GHSA-55x5-fj6c-h6m8 | lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through |
Ubuntu USN |
USN-5225-1 | lxml vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 18 Dec 2025 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-12-18T15:05:59.477Z
Reserved: 2021-11-16T00:00:00.000Z
Link: CVE-2021-43818
Updated: 2024-08-04T04:03:08.992Z
Status : Modified
Published: 2021-12-13T18:15:08.387
Modified: 2024-11-21T06:29:51.497
Link: CVE-2021-43818
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Github GHSA
Ubuntu USN