Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-43818

published high CVSS 3.1 · 8.2

HTML Cleaner allows crafted and SVG embedded scripts to pass through

Published
13 Dec 2021, 18:05:12 UTC
Updated
18 Dec 2025, 15:05:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
lxml — lxml< 4.6.5 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2023-1956 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-034 Fixed Not stated Amazon Linux assessment
Debian bullseye lxml Advisory build 4.6.3+dfsg-0.1+deb11u1 DSA-5043-1
Ubuntu bionic lxml Advisory build 4.2.1-1ubuntu0.6 USN-5225-1
AlmaLinux 8 babel Advisory build 2.5.1-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
Debian buster lxml Advisory build 4.3.2-1+deb10u4 DSA-5043-1
Debian stretch lxml Advisory build 3.7.1-1+deb9u5 DLA-2871-1
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu esm lxml Advisory build 3.3.3-1ubuntu0.2+esm5 USN-5225-1
Ubuntu focal lxml Advisory build 4.5.0-1ubuntu0.5 USN-5225-1
Ubuntu xenial lxml Advisory build 3.5.0-1ubuntu0.4+esm2 USN-5225-1
AlmaLinux 8 python-nose-docs Advisory build 1.3.7-31.module_el8.5.0+2569+5c5719bc ALSA-2022:1821
AlmaLinux 8 python-nose-docs Advisory build 1.3.7-31.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python-psycopg2-doc Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python-sqlalchemy-doc Advisory build 1.3.2-2.module_el8.5.0+2569+5c5719bc ALSA-2022:1821
AlmaLinux 8 python-sqlalchemy-doc Advisory build 1.3.2-2.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2 Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-Cython Advisory build 0.28.1-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-PyMySQL Advisory build 0.8.0-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-attrs Advisory build 17.4.0-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-babel Advisory build 2.5.1-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-backports Advisory build 1.0-16.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-backports-ssl_match_hostname Advisory build 3.5.0.1-12.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-bson Advisory build 3.7.0-1.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-chardet Advisory build 3.0.4-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-coverage Advisory build 4.5.1-4.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-debug Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-devel Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-dns Advisory build 1.15.0-10.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-docs Advisory build 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-docs-info Advisory build 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-docutils Advisory build 0.14-12.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-funcsigs Advisory build 1.0.2-13.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-idna Advisory build 2.5-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-ipaddress Advisory build 1.0.18-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-jinja2 Advisory build 2.10-9.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-libs Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-lxml Advisory build 4.2.3-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-markupsafe Advisory build 0.23-19.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-mock Advisory build 2.0.0-13.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-nose Advisory build 1.3.7-31.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-numpy Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-numpy-doc Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-numpy-f2py Advisory build 1:1.14.2-16.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pip Advisory build 9.0.3-19.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pip-wheel Advisory build 9.0.3-19.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pluggy Advisory build 0.6.0-8.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-psycopg2 Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-psycopg2-debug Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-psycopg2-tests Advisory build 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-py Advisory build 1.5.3-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pygments Advisory build 2.2.0-22.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pymongo Advisory build 3.7.0-1.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pymongo-gridfs Advisory build 3.7.0-1.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pysocks Advisory build 1.6.8-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pytest Advisory build 3.4.2-13.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pytest-mock Advisory build 1.9.0-4.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pytz Advisory build 2017.2-12.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-pyyaml Advisory build 3.12-16.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-requests Advisory build 2.20.0-3.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-rpm-macros Advisory build 3-38.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-scipy Advisory build 1.0.0-21.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-setuptools Advisory build 39.0.1-13.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-setuptools-wheel Advisory build 39.0.1-13.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-setuptools_scm Advisory build 1.15.7-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-six Advisory build 1.11.0-6.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-sqlalchemy Advisory build 1.3.2-2.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-test Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-tkinter Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-tools Advisory build 2.7.18-10.module_el8.6.0+2781+fed64c13.alma ALSA-2022:1821
AlmaLinux 8 python2-urllib3 Advisory build 1.24.2-3.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-virtualenv Advisory build 15.1.0-21.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-wheel Advisory build 1:0.31.1-3.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python2-wheel-wheel Advisory build 1:0.31.1-3.module_el8.6.0+2781+fed64c13 ALSA-2022:1821
AlmaLinux 8 python3-lxml Advisory build 4.2.3-4.el8 ALSA-2022:1932
AlmaLinux 8 python38 Advisory build 3.8.12-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-Cython Advisory build 0.29.14-4.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-PyMySQL Advisory build 0.10.1-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-asn1crypto Advisory build 1.2.0-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-atomicwrites Advisory build 1.3.0-8.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-attrs Advisory build 19.3.0-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-babel Advisory build 2.7.0-11.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-cffi Advisory build 1.13.2-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-chardet Advisory build 3.0.4-19.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-cryptography Advisory build 2.8-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-debug Advisory build 3.8.12-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-devel Advisory build 3.8.12-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-idle Advisory build 3.8.12-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-idna Advisory build 2.8-6.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-jinja2 Advisory build 2.10.3-5.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-libs Advisory build 3.8.12-1.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-lxml Advisory build 4.4.1-7.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-markupsafe Advisory build 1.1.1-6.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-mod_wsgi Advisory build 4.6.8-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-more-itertools Advisory build 7.2.0-5.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-numpy Advisory build 1.17.3-6.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-numpy-doc Advisory build 1.17.3-6.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-numpy-f2py Advisory build 1.17.3-6.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-packaging Advisory build 19.2-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-pip Advisory build 19.3.1-5.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-pip-wheel Advisory build 19.3.1-5.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-pluggy Advisory build 0.13.0-3.module_el8.6.0+2778+cd494b30 ALSA-2022:1764
AlmaLinux 8 python38-ply Advisory build 3.11-10.module_el8.6.0+2778+cd494b30 ALSA-2022:1764

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
lxml lxml < 4.6.5 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

14

Provider assertions

3

GitHub_M · cna

HTML Cleaner allows crafted and SVG embedded scripts to pass through

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
0f9115f7417e81e2c26e8d3a3a8558437e8d325980d79bef0c613fd96d082e2a
Ingested
23 Sep 2026, 07:56:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected