CVE-2021-43818
HTML Cleaner allows crafted and SVG embedded scripts to pass through
CVE-2021-43818 is an injection in PyPI lxml (CVSS 8.2, High).
No known exploitation. EPSS puts it in the 84th percentile. Fixed in 4.6.5.
No public exploit knownFix4.6.5Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.152042
What to do
Find your product and version, then upgrade to the build on the right.
- LxmlAffected: < 4.6.5Upgrade to: not statedStated by: CVE record
- PyPI lxmlAffected: < 4.6.5Upgrade to: 4.6.5Stated by: GitHub advisory
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
- Canonical Ltd. UbuntuAffected: 18.04 LTSUpgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
Versions as the sources state them. 12 more products have version data. Full version matrix after sign-in
SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.
What it is
From the CVE record
lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
2.3% chance of exploitation activity in the next 30 days, which ranks it in the 84th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1655 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- Red Hat Enterprise LinuxOperating Systems / linux-distro
- Red Hat SatelliteOperating Systems / linux-distro
- Red Hat Software CollectionsOperating Systems / linux-distro
- Ansible TowerOperating Systems / linux-distro
- Ansible Automation PlatformOperating Systems / linux-distro
- Red Hat Update Infrastructure for Cloud ProvidersOperating Systems / linux-distro
- communications cloud native core binding support functionCommunications
- communications cloud native core network exposure functionCommunications / messaging-chat
- communications cloud native core policyDatabases / cache-message-queue
- http serverWeb & CMS Plugins
- zfs storage appliance kitDatabases / data-warehouse-analytics
And 10 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
Scored 8.2 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8
- nvd.nist.gov/vuln/detail/CVE-2021-43818
- github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a
And 35 more references. See all after sign-in
Questions about CVE-2021-43818
- Is CVE-2021-43818 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.3%.
- Which versions are affected by CVE-2021-43818?
- Lxml: < 4.6.5. Lxml: < 4.6.5. Debian GNU/Linux: 9. 14 more products are listed in the record.
- How do I fix or mitigate CVE-2021-43818?
- Upgrade to 4.6.5 or later. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Lxml, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI