8.2

CVE-2021-43818: HTML Cleaner allows crafted and SVG embedded scripts to pass through

Modified
AliasesALPINE-CVE-2021-43818MGASA-2021-0595GHSA-55x5-fj6c-h6m8
Published 13-12-2021Last modified 18-12-2025

Vulnerability summary

CVE-2021-43818 is a high (CVSS 8.2) vulnerability in debian debian_linux. EPSS estimates a 2.66% chance of exploitation in the next 30 days, higher than 85.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
2.66%
0%100%
Low · +0.19 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 4

Timeline

  1. 13-12-2021
    PublishedVulnerability first disclosed.
  2. 18-12-2025
    Last modifiedVulnerability information updated.

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 metrics

9 scores · 7 sources · 3 versions

EPSS trend

Probability

2.66%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

Increase +0.19 pp

From 2.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat80 products
  • mod_wsgi< 0:4.7.1-4.module+el8.4.0+9822+20bf1249
  • numpy< 0:1.19.4-3.module+el8.5.0+12204+54860423
  • numpy-debugsource< 0:1.19.4-3.module+el8.5.0+12204+54860423
  • python-cffi< 0:1.14.3-2.module+el8.4.0+9822+20bf1249
  • python-cffi-debugsource< 0:1.14.3-2.module+el8.4.0+9822+20bf1249
Oracle5 products
Netapp3 products
Debian2 products
  • lxml< 4.3.2-1+deb10u4 | < 4.6.3+dfsg-0.1+deb11u1 | < 3.7.1-1+deb9u5 | < 4.7.1-1
  • debian_linuxEOL9.0 | 10.0 | 11.0
Alpine1 product
  • py3-lxml< 4.6.5-r0
Fedoraproject1 product
Lxml1 product
Mageia1 product
  • python-lxml< 4.6.5-1.mga8
PyPI1 product
  • lxml< 12fa9669007180a7bb87d990c375cf91ca5b664a | < a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c | < 4.6.5
Ubuntu1 product
  • lxml< 4.7.1-1 | < 3.3.3-1ubuntu0.2+esm5 | < 3.5.0-1ubuntu0.4+esm2 | < 4.2.1-1ubuntu0.6 | < 4.5.0-1ubuntu0.5

10 vendors · 96 products

References

45 links
Show all 45 references