GHSA-55x5-fj6c-h6m8

lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through

At a glance

Published
Updated
CVE
CVE-2021-43818
Aliases
PYSEC-2021-852
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N

Description

### Impact 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. ### Patches The issue has been resolved in lxml 4.6.5. ### Workarounds None. ### References The issues are tracked under the report IDs GHSL-2021-1037 and GHSL-2021-1038.

Affected packages

PackageVersions
PyPI · lxmlintroduced 0, fixed 4.6.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database