Skip to main content
← All vulnerabilities
CVE-2021-43818GHSA-55X5-FJ6C-H6M8PYSEC-2021-852

HTML Cleaner allows crafted and SVG embedded scripts to pass through

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.6.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • lxml lxml

    fixed in 4.6.5

  • lxmlPyPI

    fixed in 4.6.5

  • lxmlPyPI

    fixed in 4.6.5

References 14

GitHub · lxml/lxml

lists.fedoraproject.org

lists.debian.org

debian.org

oracle.com

security.netapp.com

security.gentoo.org