CVE-2025-58360: OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability

Published Nov 25, 2025
·
Updated

Description

An XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request.

An XML External Entity attack is a type of attack that occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, port scanning from the perspective of the machine where the parser is located, and other system impacts.

By exploiting this vulnerability, an attacker can: - Read arbitrary files from the server's file system. - Conduct Server-Side Request Forgery (SSRF) to interact with internal systems. - Execute Denial of Service (DoS) attacks by exhausting resources.

Resolution

Update to GeoServer 2.25.6, GeoServer 2.26.3, or GeoServer 2.27.0.

Impact

The XXE vulnerability can be used to retrieve arbitrary files from the server's file system.

Reference

https://osgeo-org.atlassian.net/browse/GEOS-11682 XBOW-024-081

Disclaimer

This vulnerability was detected using XBOW, a system that autonomously finds and exploits potential security vulnerabilities. The finding has been thoroughly reviewed and validated by a security researcher before submission. While XBOW is intended to work autonomously, during its development human experts ensure the accuracy and relevance of its reports.

Other sources

GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.

NVD

OSGeo GeoServer contains an improper restriction of XML external entity reference vulnerability that occurs when the application accepts XML input through a specific endpoint /geoserver/wms operation GetMap and could allow an attacker to define external entities within the XML request.

CISA

Affected Software

7 affected componentsFixes available
maven/org.geoserver:gs-wms<2.25.6
2.25.6
maven/org.geoserver.web:gs-web-app<2.25.6
2.25.6
maven/org.geoserver:gs-wms>=2.26.0<2.26.2
2.26.2
maven/org.geoserver.web:gs-web-app>=2.26.0<2.26.2
2.26.2
GeoServer geoserver<2.25.6
GeoServer geoserver>=2.26.0<2.26.2
OSGeo GeoServer

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.geoserver:gs-wms to a version that resolves this vulnerability.

    Fixed in 2.25.6
  2. Upgrade

    Upgrade maven/org.geoserver.web:gs-web-app to a version that resolves this vulnerability.

    Fixed in 2.25.6
  3. Upgrade

    Upgrade maven/org.geoserver:gs-wms to a version that resolves this vulnerability.

    Fixed in 2.26.2
  4. Upgrade

    Upgrade maven/org.geoserver.web:gs-web-app to a version that resolves this vulnerability.

    Fixed in 2.26.2
  5. Upgrade

    Upgrade GeoServer to a version that resolves this vulnerability.

    Fixed in 2.25.6
  6. Upgrade

    Upgrade GeoServer to a version that resolves this vulnerability.

    Fixed in 2.26.3
  7. Upgrade

    Upgrade GeoServer to a version that resolves this vulnerability.

    Fixed in 2.27.0
  8. Compensating control

    If GeoServer mitigations are unavailable, discontinue use of the product (per provided resolution guidance).

Event History

Nov 25, 2025
Advisory Published
via GitHub·07:07 PM
Data Sourced
via GitHub·07:07 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·08:17 PM
Data Sourced
via MITRE·08:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 11, 2025
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Dec 12, 2025
News Published
via BleepingComputer·09:48 AM
News Published
via BleepingComputer·09:49 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58360?

CVE-2025-58360 is classified as a high severity XML External Entity (XXE) vulnerability.

2

How do I fix CVE-2025-58360?

To fix CVE-2025-58360, upgrade the affected software to version 2.25.6 or 2.26.2 of the respective packages.

3

What software versions are affected by CVE-2025-58360?

CVE-2025-58360 affects versions earlier than 2.25.6 and between 2.26.0 and 2.26.2 of specific Geoserver packages.

4

What type of vulnerability is CVE-2025-58360?

CVE-2025-58360 is an XML External Entity (XXE) vulnerability allowing for potential external entity exploitation.

5

Where is the vulnerable endpoint for CVE-2025-58360 located?

The vulnerable endpoint for CVE-2025-58360 is located at '/geoserver/wms' under the operation 'GetMap'.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203