Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-43818

27
FAUCET Score

CVE-2021-43818 describes a vulnerability in the lxml Python library, specifically its HTML Cleaner, which allows crafted script content to bypass sanitization, including scripts embedded in SVG files via data URIs. This affects various products incorporating lxml, such as Debian, Fedora, NetApp, and Oracle. Rated with a CVSS score of 7.1 (HIGH), this vulnerability has a network attack vector and low attack complexity, requiring user interaction. Successful exploitation could lead to low impact on confidentiality, integrity, and availability, indicating potential cross-site scripting (XSS) scenarios. Currently, there is no evidence of active exploitation, and no public exploit code is available in Metasploit, Nuclei, or ExploitDB. While community discussion and media coverage are minimal, users are advised to upgrade to lxml version 4.6.5 to patch this vulnerability, as no workarounds exist.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.6.5CPE matchmatch criteria
cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*
34CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
35CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.2HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
4.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.46%
Probability of exploitation in next 30 days
EPSS Percentile
82.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0246 is in the 82nd percentile among its peer group of 14,855 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (17)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: cbl2 python-lxml 4.8.0-1 on CBL Mariner 2.0Fixed in: 4.8.0-1
microsoftpatch availablevia msrc
Product: 18937-16820Fixed in: 4.7.1-1
microsoftpatch availablevia msrc
Product: 16957-16823Fixed in: 4.8.0-1
microsoftpatch availablevia msrc
Product: cm1 python-lxml 4.7.1-1 on CBL Mariner 1.0Fixed in: 4.7.1-1
oraclepatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: lxmlFixed in: 4.6.5
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python27:2.7-8060020220210185952.8cdc2268
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python-lxml-0:4.2.3-4.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Satellite 6.11 for RHEL 8Fixed in: python-lxml-0:4.7.1-1.el8pc
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-python38-python-lxml-0:4.4.1-8.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python39:3.9-8060020220118220913.d3811607
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python38:3.8-8060020220120164031.5294be16
View patch
redhatno patchvia redhat_api
Product: Red Hat Ansible Tower 3Fixed in: lxml
redhatno patchvia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: lxml
redhatno patchvia redhat_api
Product: Red Hat Update Infrastructure 3 for Cloud ProvidersFixed in: python-lxml
redhatno patchvia redhat_api
Product: Red Hat Ansible Automation Platform 1.2Fixed in: lxml

Vendor Advisories (3)

microsoft2021-Dec/CVE-2021-43818Important

HTML Cleaner allows crafted and SVG embedded scripts to pass through

Dec 14, 2021
pipGHSA-55x5-fj6c-h6m8medium

lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through

Dec 13, 2021
redhatCVE-2021-43818Moderate

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

Dec 12, 2021

References

github.com / lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a
PatchThird Party Advisory
github.com / lxml/lxml/commit/a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c
PatchThird Party Advisory
github.com / lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0
PatchThird Party Advisory
github.com / lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8
Third Party Advisory
lists.debian.org / debian-lts-announce/2021/12/msg00037.html
Mailing ListThird Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/TUIS2KE3HZ2AAQKXFLTJFZPP2IFHJTC7
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/V2XMOM5PFT6U5AAXY6EFNT5JZCKKHK2V
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/WZGNET2A4WGLSUXLBFYKNC5PXHQMI3I7
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/ZQ4SPKJX3RRJK4UWA6FXCRHD2TVRQI44
security.gentoo.org / glsa/202208-06
Third Party Advisory
security.netapp.com / advisory/ntap-20220107-0005
Third Party Advisory
debian.org / security/2022/dsa-5043
Third Party Advisory
oracle.com / security-alerts/cpuapr2022.html
PatchThird Party Advisory
oracle.com / security-alerts/cpujul2022.html
PatchThird Party Advisory