CVE-2021-43818

Updated: 2026-01-19 04:01:52.802983

Description:

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x MEDIUM 6.8
CVSS Version 3.x HIGH 7.1

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

CentOS 7 ELS python-lxml 3.2.1 7.1 HIGH Released CLSA-2024:1729629058 2024-11-01 10:56:34
CentOS 8.4 ELS python3 3.6.8 7.1 HIGH Not Vulnerable 2025-02-21 06:36:24
CentOS 8.4 ELS python2 2.7.18 7.1 HIGH Not Vulnerable 2025-02-21 06:36:25
CentOS 8.5 ELS python2 2.7.18 7.1 HIGH Not Vulnerable 2025-02-21 06:36:25
CentOS 8.5 ELS python3 3.6.8 7.1 HIGH Not Vulnerable 2025-02-21 06:36:24
Ubuntu 16.04 ELS python2.7 2.7.12 7.1 HIGH Not Vulnerable 2025-02-20 11:32:41