CVE-2021-43818High· 8.2▾ Twilightlxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 45.1 · likelihood 0.5 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
2.5%
2.5% → 2.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.
The issue has been resolved in lxml 4.6.5.
None.
The issues are tracked under the report IDs GHSL-2021-1037 and GHSL-2021-1038.
lxml < 4.6.5Upgrade to a patched release:
lxml 4.6.5Connected by shared product, vendor, weakness, or advisory.