OWSLib vulnerable to XML External Entity (XXE) Injection
Published Mar 7, 2023 · Updated Oct 23, 2026 · Also known as GHSA-8h9c-r582-mggc, PYSEC-2023-86
Original summary
Normalized public record · Updated Oct 23, 2026
OWSLib vulnerable to XML External Entity (XXE) Injection
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution for `lxml`, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase.
Potential impact
OWSLib's XML parser (which supports both lxml and xml.etree) does not disable entity resolution for lxml, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 10%
- Aliases
- GHSA-8h9c-r582-mggc, PYSEC-2023-86
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- Security advisory ↗
- Source repository ↗
- https://securitylab.github.com/advisories/GHSL-2022-131_owslib/ ↗
- www.debian.org ↗
- lists.debian.org ↗
Record history
Published Mar 7, 2023 · Last refreshed Oct 23, 2026