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 Red Hat

  • RHSA-2022:1664

    Red Hat Security Advisory: Red Hat Software Collections security update

    CVE-2021-43818 Red Hat Updated 13 November 2026
  • RHSA-2022:1763

    Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update

    CVE-2021-43818 Red Hat Updated 13 November 2026
  • RHSA-2022:1764

    Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update

    CVE-2021-3733CVE-2021-3737CVE-2021-43818CVE-2022-0391 Red Hat Updated 23 November 2026
  • RHSA-2022:1821

    Red Hat Security Advisory: python27:2.7 security update

    CVE-2021-3733CVE-2021-3737CVE-2021-4189CVE-2021-43818 Red Hat Updated 23 November 2026
  • RHSA-2022:1932

    Red Hat Security Advisory: python-lxml security update

    CVE-2021-43818 Red Hat Updated 13 November 2026
  • RHSA-2022:5498

    Red Hat Security Advisory: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Red Hat Updated 26 November 2026
  • RHVEX-CVE-2021-43818

    python-lxml: HTML Cleaner allows crafted and SVG embedded scripts to pass through

    Moderate CVE-2021-43818 Red Hat Updated 27 November 2026

References