Junglewise Threat Intelligence

CVE-2021-43818: 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 cra

CVE-2021-43818 · Severity: low · CVSS 3.1 · Published 2021-12-13

Technologies: lxml (PyPI). Vendors: PyPI.

Executive brief

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.

Affected products

  • PyPI lxml

Related threats