7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
9 packages
- python312Packages.types-lxml
- python313Packages.types-lxml
- python314Packages.types-lxml
- python312Packages.lxml-html-clean
- python313Packages.lxml-html-clean
- python314Packages.lxml-html-clean
- python312Packages.readability-lxml
- python313Packages.readability-lxml
- python314Packages.readability-lxml
- @LeSuisse accepted
- @LeSuisse published on GitHub
lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.
References
-
https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw x_refsource_CONFIRM
-
https://bugs.launchpad.net/lxml/+bug/2146291 x_refsource_MISC
Affected products
- ==< 6.1.0
Matching in nixpkgs
pkgs.python312Packages.lxml
None
pkgs.python313Packages.lxml
Pythonic binding for the libxml2 and libxslt libraries
pkgs.python314Packages.lxml
Pythonic binding for the libxml2 and libxslt libraries
Ignored packages (9)
pkgs.python312Packages.types-lxml
None
pkgs.python313Packages.types-lxml
Complete lxml external type annotation
-
nixos-unstable 2026.01.01
- nixpkgs-unstable 2026.01.01
- nixos-unstable-small 2026.01.01
pkgs.python314Packages.types-lxml
Complete lxml external type annotation
-
nixos-unstable 2026.01.01
- nixpkgs-unstable 2026.01.01
- nixos-unstable-small 2026.01.01
pkgs.python312Packages.lxml-html-clean
None
pkgs.python313Packages.lxml-html-clean
Separate project for HTML cleaning functionalities copied from lxml.html.clean
pkgs.python314Packages.lxml-html-clean
Separate project for HTML cleaning functionalities copied from lxml.html.clean
pkgs.python312Packages.readability-lxml
None
pkgs.python313Packages.readability-lxml
Fast python port of arc90's readability tool
pkgs.python314Packages.readability-lxml
Fast python port of arc90's readability tool