XML injection (XXE) In lxml
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
pypi | 6.1.0 | ||
debian 13 | - | ||
debian 11 | - | ||
debian 12 | - | ||
debian 14 | 6.1.0-1 | ||
rpm rhel6 | - | - | |
rpm rhel9 | - | - | |
rpm rhel7 | - | - | |
rpm rhel10 | - | - | |
rpm rhel8 | - | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3.