🛡️ CVE-2021-43818 on Debian — lxml
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.
Distribution advisory
This page covers CVE-2021-43818 as tracked by Debian, for the package lxml. The fix is available in version 4.7.1-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability low.
Affected software
DEBIAN-CVE-2021-43818 is recorded against 1 package.
- lxml (fixed in 4.7.1-1)
Timeline and source
Published on 13 December 2021 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-43818 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| lxml | — | 4.7.1-1 |
References
Similar Threats
- Unknown CLSA-2026-1779151640
- Unknown CLSA-2026-1779238041
- Medium ROOT-APP-PYPI-CVE-2026-41066
- Unknown ECHO-e83f-9e30-4171
- Unknown DEBIAN-CVE-2026-41066
More DEBIAN CVE 2021 advisories
Browse all of DEBIAN CVE 2021 in the advisory index.
- DEBIAN-CVE-2021-43618
- DEBIAN-CVE-2021-43666
- DEBIAN-CVE-2021-43784
- DEBIAN-CVE-2021-43797
- DEBIAN-CVE-2021-43804
- DEBIAN-CVE-2021-43808
- DEBIAN-CVE-2021-43809
- DEBIAN-CVE-2021-43816
- DEBIAN-CVE-2021-43845
- DEBIAN-CVE-2021-43854
- DEBIAN-CVE-2021-43859
- DEBIAN-CVE-2021-43860
- DEBIAN-CVE-2021-43861
- DEBIAN-CVE-2021-43975
- DEBIAN-CVE-2021-43976
- DEBIAN-CVE-2021-43980
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2021-43818?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2021-43818 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.