CVE Tools

CVE-2021-43818

HTML Cleaner allows crafted and SVG embedded scripts to pass through

Published: Dec 13, 2021Updated: Nov 21, 2024 Sources: CVE List NVD GHSA BDUCWE-74

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.

CVSS Vector Breakdown

AV:NAC:LPR:NUI:RS:CC:LI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:CScope
Changed
Impact
C:LConfidentiality
Low
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

lxmloss-projectOSS Librariesaka lxml/lxml
fedoraprojectoss-projectUSOperating Systemsaka fedora project
debianoss-projectGBOperating Systemsaka debian gnu/linux
and 24 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

3 techniques
Execution
Initial Access
View detailed technique mapping

References

and 35 more references View all →

Timeline

Published
Dec 13, 2021
Last Updated
Nov 21, 2024

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2021-43818 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows