cve.bz

CVE-2021-43818

7.1 highEPSS 2.7%

High (7.1). EPSS 2.7% chance of exploitation in the next 30 days. Fixed in lxml 4.6.5.

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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
EPSS
2.7% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
CWEs
CWE-79, CWE-74
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-55x5-fj6c-h6m8PyPIlxml<4.6.54.6.5
PYSEC-2021-852PyPIlxml<4.6.54.6.5

References

Check your stackJSON