---
title: "CVE-2021-43818: lxml lxml Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-43818: lxml lxml Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-43818 is a published software vulnerability affecting lxml lxml. CVSS base score: 8.2 (HIGH). Published December 13, 2021 by GitHub\_M. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-43818
- Status: Published
- Affected vendor: lxml
- Affected product: lxml
- Assigner CNA: GitHub\_M
- Published date: December 13, 2021
- Last updated: December 18, 2025
- CVSS base score: 8.2 (HIGH)
- CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
- Weakness (CWE): CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Equipment rental companies in the United States](https://specstream.ai/data/businesses/equipment-rental-companies/united-states)
- [Laboratory equipment suppliers in the United States](https://specstream.ai/data/businesses/laboratory-equipment-suppliers/united-states)
- [Product design firms in the United States](https://specstream.ai/data/businesses/product-design-firms/united-states)
- [Video game stores in the United States](https://specstream.ai/data/businesses/video-game-stores/united-states)
- [Burmese restaurants in the United States](https://specstream.ai/data/businesses/burmese-restaurants/united-states)
- [Eye care clinics in the United States](https://specstream.ai/data/businesses/eye-care-clinics/united-states)
