CVE-2023-27476: XML External Entity (XXE) Injection in OWSLib
Vulnerability summary
CVE-2023-27476 is a high (CVSS 8.2) vulnerability in geopython owslib. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 63.3% of scored vulnerabilities.
Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 07-03-2023PublishedVulnerability first disclosed.
- 25-02-2025Last modifiedVulnerability information updated.
Description
OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.98%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.98% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- owslib< 0.27.2-3 | < 0.17.1-1+deb10u1 | < 0.23.0-1+deb11u1
Geopython1 product
- owslib< 0.28.1
Mageia1 product
- python-owslib< 0.28.1-1.mga8
Osgeo1 product
- owslib< 0.28.1
PyPI1 product
- owslib< b92687702be9576c0681bb11cad21eb631b9122f | < 0.28.1
Ubuntu1 product
- owslib< 0.10.3-1ubuntu0.1~esm1 | < 0.16.0-1ubuntu0.1~esm1 | < 0.19.1-1ubuntu0.1~esm1 | < 0.25.0-1ubuntu0.1~esm1
6 vendors · 6 products
References
18 links- github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggcX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122fX Refsource MISCWEBFIXREPORTPatch
Show all 18 references
- github.com/geopython/OWSLibPACKAGE