CVE-2025-30220: Gs web app [XBOW-025-068] XML External Entity (XXE) Vulnerability
HIGHCVE-2025-30220 is a HIGH (CVSS 8.2) [xbow-025-068] xml external entity (xxe) vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Gs web app libraries in the Maven ecosystem. The issue involves [xbow-025-068] xml external entity (xxe) processing vulnerability in geoserver wfs service. Remediation is available by upgrading affected packages to version 2.27.1, 2.26.3, 2.25.7.
CVE-2025-30220 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L).
How to Fix CVE-2025-30220
To remediate this vulnerability, upgrade all affected Gs web app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.geoserver.web</groupId>
<artifactId>gs-web-app</artifactId>
<version>2.27.1</version>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wfs</artifactId>
<version>2.27.1</version>
</dependency>
<dependency>
<groupId>org.geoserver.web</groupId>
<artifactId>gs-web-app</artifactId>
<version>2.26.3</version>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wfs</artifactId>
<version>2.26.3</version>
</dependency>
<dependency>
<groupId>org.geoserver.web</groupId>
<artifactId>gs-web-app</artifactId>
<version>2.25.7</version>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wfs</artifactId>
<version>2.25.7</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.geoserver.web
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-30220, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.geoserver.web
Analyze the terminal output to locate any version of Gs web app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.27.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.geoserver.web command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Gs web app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30220 Affected Gs web app Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.geoserver.web:gs-web-app
|
Maven |
≥ 2.27.0
< 2.27.1
All 1 versions
2.27.0
|
2.27.1
|
|
org.geoserver:gs-wfs
|
Maven |
≥ 2.27.0
< 2.27.1
All 1 versions
2.27.0
|
2.27.1
|
|
org.geoserver.web:gs-web-app
|
Maven |
≥ 2.26.0
< 2.26.3
|
2.26.3
|
|
org.geoserver:gs-wfs
|
Maven |
≥ 2.26.0
< 2.26.3
|
2.26.3
|
|
org.geoserver.web:gs-web-app
|
Maven |
< 2.25.7
|
2.25.7
|
|
org.geoserver:gs-wfs
|
Maven |
< 2.25.7
|
2.25.7
|
References
Frequently Asked Questions
What is CVE-2025-30220?
Which Gs web app versions are affected?
What version fixes CVE-2025-30220?
Is gs-web-app affected?
Is gs-wfs affected?
What is the CVSS score of CVE-2025-30220?
What CWE is associated with CVE-2025-30220?
How can I check Maven dependencies for CVE-2025-30220?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jj54-8f66-c5pc",
"modified" : "2025-06-10T20:10:07Z",
"published" : "2025-06-10T20:10:06Z",
"aliases" : [ "CVE-2025-30220" ],
"summary" : "[XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service",
"details" : "## Summary\n\nGeoServer Web Feature Service (WFS) web service was found to be vulnerable to GeoTools CVE-2025-30220 XML External Entity (XXE) processing attack.\n\nIt 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).\n\n## Details\n\nWhile 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.\n\nThis bypasses GeoServer's AllowListEntityResolver enabling XXE attacks.\n\n## PoC\n\nNo public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS service.\n\n## Impact\n\n* Information Disclosure: \n\n This vulnerability allows unauthenticated attackers to read arbitrary files from the server's filesystem that are accessible to the GeoServer process.\n \n 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.\n\n* Server-Side Request Forgery (SSRF) \n \n The mechanism inherently allows forcing GeoServer to make HTTP requests to arbitrary URLs, enabling SSRF attacks against internal network resources \n\n## References\n\n* [CVE-2025-30220](https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw) XML External Entity (XXE) Processing Vulnerability in XSD schema handling\n* [External Entities Resolution](https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities) (GeoServer User Manual)\n\n## Acknowledgements\n\nThis 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.\n\n### XBOW-025-068 Disclaimer\n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.web:gs-web-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.27.0"
}, {
"fixed" : "2.27.1"
} ]
} ],
"versions" : [ "2.27.0" ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver:gs-wfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.27.0"
}, {
"fixed" : "2.27.1"
} ]
} ],
"versions" : [ "2.27.0" ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.web:gs-web-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.26.0"
}, {
"fixed" : "2.26.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.26.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver:gs-wfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.26.0"
}, {
"fixed" : "2.26.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.26.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.web:gs-web-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.25.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.25.6"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver:gs-wfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.25.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.25.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc"
}, {
"type" : "WEB",
"url" : "https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc"
}, {
"type" : "WEB",
"url" : "https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30220"
}, {
"type" : "WEB",
"url" : "https://github.com/geonetwork/core-geonetwork/pull/8757"
}, {
"type" : "WEB",
"url" : "https://github.com/geonetwork/core-geonetwork/pull/8803"
}, {
"type" : "WEB",
"url" : "https://github.com/geonetwork/core-geonetwork/pull/8812"
}, {
"type" : "WEB",
"url" : "https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/geoserver/geoserver"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611", "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T20:10:06Z",
"nvd_published_at" : "2025-06-10T16:15:37Z"
}
}