CVE-2023-27476
HIGH 7.5CVSS 3.1OWSLib vulnerable to XML External Entity (XXE) Injection
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.
- Published
- 8 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-8h9c-r582-mggcPYSEC-2023-86
- Sources
- NVDJSONOSV GHSA-8h9c-r582-mggcJSONOSV PYSEC-2023-86JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | owslibcpe:2.3:a:osgeo:owslib:*:*:*:*:*:*:*:* |
< 0.28.1 | 0.28.1 |
| OSV | PyPI | owslib | < 0.28.1 | 0.28.1 |
References
- https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f · Patch, WEB, FIX
- https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc · Vendor Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html · WEB
- https://securitylab.github.com/advisories/GHSL-2022-131_owslib/ · Broken Link, ADVISORY
- https://www.debian.org/security/2023/dsa-5426 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-27476 · ADVISORY
- https://github.com/geopython/OWSLib/pull/863 · WEB
- https://github.com/geopython/OWSLib · PACKAGE
- https://github.com/geopython/OWSLib/releases/tag/0.28.1 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/owslib/PYSEC-2023-86.yaml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Mar 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Mar 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Mar 2023)