ADVISORIES

Vulnerability

CVE-2021-43818

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.

38 advisories report this vulnerability, across 13 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2023-1956

    Amazon Linux 2 2017.12 - ALAS2-2023-1956: important priority package update for python-lxml

    Important CVE-2014-3146CVE-2018-19787CVE-2021-43818 Amazon Linux Updated 7 March 2025
  • ALAS2023-2023-034

    Amazon Linux 2023 - ALAS2023-2023-034: Important priority package update for python-lxml

    Important CVE-2021-43818CVE-2022-2309 Amazon Linux Updated 22 February 2023

References