CVE-2025-30220: [XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service
Summary GeoServer Web Feature Service (WFS) web service was found to be vulnerable to GeoTools CVE-2025-30220 XML External Entity (XXE) processing attack. It is possible to trigger the parsing of external DTDs and entities, bypassing standard entity resolvers. This allows for Out-of-Band (OOB) data exfiltration of local files accessible by the GeoServer process, and Service Side Request Forgery (SSRF).
Published Jun 10, 2025
Affected packages
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- = 2.27.0
- Fixed in
- 2.27.1
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver:gs-wfs
- Ecosystem
- Maven
- Affected
- = 2.27.0
- Fixed in
- 2.27.1
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-wfs
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- >= 2.26.0, <= 2.26.2
- Fixed in
- 2.26.3
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver:gs-wfs
- Ecosystem
- Maven
- Affected
- >= 2.26.0, <= 2.26.2
- Fixed in
- 2.26.3
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-wfs
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- <= 2.25.6
- Fixed in
- 2.25.7
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver:gs-wfs
- Ecosystem
- Maven
- Affected
- <= 2.25.6
- Fixed in
- 2.25.7
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-wfs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
GeoServer Web Feature Service (WFS) web service was found to be vulnerable to GeoTools CVE-2025-30220 XML External Entity (XXE) processing attack.
It is possible to trigger the parsing of external DTDs and entities, bypassing standard entity resolvers. This allows for Out-of-Band (OOB) data exfiltration of local files accessible by the GeoServer process, and Service Side Request Forgery (SSRF).
Details
While direct entity resolution is managed by application property ENTITY_RESOLUTION_ALLOWLIST for XML Parsing, this restriction was not being used by the GeoTools library when building an in-memory XSD Library Schema representation.
This bypasses GeoServer's AllowListEntityResolver enabling XXE attacks.
PoC
No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS service.
Impact
- Information Disclosure:
This vulnerability allows unauthenticated attackers to read arbitrary files from the server's filesystem that are accessible to the GeoServer process.
This can lead to exposure of sensitive information including configuration files, credentials, and system files. The attack can be performed remotely without authentication, making it particularly severe.
- Server-Side Request Forgery (SSRF)
The mechanism inherently allows forcing GeoServer to make HTTP requests to arbitrary URLs, enabling SSRF attacks against internal network resources
References
- CVE-2025-30220 XML External Entity (XXE) Processing Vulnerability in XSD schema handling
- External Entities Resolution (GeoServer User Manual)
Acknowledgements
This vulnerability was initially reported via an automated tool described below. Subsequently a duplicate report via @YacineF, and their patience working with the GeoServer project, was instrumental finding in escalating this issue and determining a resolution.
XBOW-025-068 Disclaimer
This vulnerability was detected using [XBOW](https://xbow.com/), 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.
Credited to xbow-security, YacineF, aaime, jodygarnett.
References
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw
- https://nvd.nist.gov/vuln/detail/CVE-2025-30220
- https://github.com/geonetwork/core-geonetwork/pull/8757
- https://github.com/geonetwork/core-geonetwork/pull/8803
- https://github.com/geonetwork/core-geonetwork/pull/8812
- https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities
- https://github.com/advisories/GHSA-jj54-8f66-c5pc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-45747
GeoServer has a Server-Side Template Injection (SSTI) vulnerability in processing FreeMarker templates
high7.2Aug 19, 2026CVE-2025-52465
GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page
high7.2Jun 12, 2026CVE-2025-58175
GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
medium6.5Jun 12, 2026CVE-2025-21621
GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format
medium6.1Nov 25, 2025CVE-2025-58360
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
high8.2ExploitedNov 25, 2025CVE-2024-29198
GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost
high7.5Jun 10, 2025
