8.2

CVE-2023-27476: XML External Entity (XXE) Injection in OWSLib

Modified
AliasesMGASA-2023-0112GHSA-8h9c-r582-mggcPYSEC-2023-86
Published 07-03-2023Last modified 25-02-2025

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.

Priority
Prioritisesevere

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?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.98%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 07-03-2023
    PublishedVulnerability first disclosed.
  2. 25-02-2025
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Mageia1 product
  • python-owslib< 0.28.1-1.mga8
Osgeo1 product
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
Show all 18 references