lxml vulnerabilities
Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
- Registry
- PyPI
- Latest
- 6.1.3
- License
- BSD-3-Clause
7 known advisories
The latest version, 6.1.3, is not affected by any of them. Projects on older versions may be.
pip install 'lxml>=6.1.3'Is your project on an affected lxml?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for lxml
lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files
- Affected
- <6.1.0
- Fixed in
- 6.1.0
lxml NULL Pointer Dereference allows attackers to cause a denial of service
- Affected
- <4.9.1
- Fixed in
- 4.9.1
lxml Cross-site Scripting Via Control Characters
- Affected
- <3.3.5
- Fixed in
- 3.3.5
Improper Neutralization of Input During Web Page Generation in LXML
- Affected
- <4.2.5
- Fixed in
- 4.2.5
lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through
- Affected
- <4.6.5
- Fixed in
- 4.6.5
lxml vulnerable to Cross-Site Scripting
- Affected
- <4.6.3
- Fixed in
- 4.6.3
lxml vulnerable to Cross-site Scripting
- Affected
- <4.6.2
- Fixed in
- 4.6.2
Is your lxml version vulnerable?
- lxml 6.1No known advisories in 6.1.3
- lxml 6.01 advisory in 6.0.4
- lxml 5.41 advisory in 5.4.0
- lxml 5.31 advisory in 5.3.2
- lxml 5.21 advisory in 5.2.2
- lxml 5.11 advisory in 5.1.1
- lxml 5.01 advisory in 5.0.2
- lxml 4.91 advisory in 4.9.4
- lxml 4.82 advisories in 4.8.0
- lxml 4.72 advisories in 4.7.1
- lxml 4.62 advisories in 4.6.5
- lxml 4.55 advisories in 4.5.2
- lxml 4.45 advisories in 4.4.3
Which of your client projects still run an old lxml?
NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other PyPI packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.