CISA list

● PyPI package

lxml

Lxml has seven security advisories. The newest release any of them names as the fix is 6.1.0.

As of , lxml has seven security advisories. The newest release any of them names as the fix is 6.1.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 6.1.06.1.07 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-41066GHSA-vfmq-68hx-4jfw, PYSEC-2026-87lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local filesHigh severityBefore 6.1.06.1.0
CVE-2022-2309GHSA-wrxv-2j5q-m38w, PYSEC-2022-230lxml NULL Pointer Dereference allows attackers to cause a denial of serviceModerate severityBefore 4.9.14.9.1
CVE-2021-43818GHSA-55x5-fj6c-h6m8, PYSEC-2021-852lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass throughModerate severityBefore 4.6.54.6.5
CVE-2021-28957GHSA-jq4v-f5q6-mjqq, PYSEC-2021-19lxml vulnerable to Cross-Site ScriptingModerate severityBefore 4.6.34.6.3
CVE-2020-27783GHSA-pgww-xf46-h92r, PYSEC-2020-62lxml vulnerable to Cross-site ScriptingModerate severityBefore 4.6.24.6.2
CVE-2018-19787GHSA-xp26-p53h-6h2p, PYSEC-2018-12Improper Neutralization of Input During Web Page Generation in LXMLModerate severityBefore 4.2.54.2.5
CVE-2014-3146GHSA-57qw-cc2g-pv5p, PYSEC-2014-9lxml Cross-site Scripting Via Control CharactersModerate severityBefore 3.3.53.3.5

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0