Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-91 — CWE-91: XML Injection
Affected products
| Vendor | Product | Versions |
|---|---|---|
| geoserver | geoserver | < 33.7 [affected]; >= 34.0, < 34.6 [affected]; >= 35.0, < 35.2 [affected]; < 2.27.7 [affected]; >= 2.28.0, < 2.28.6 [affected]; >= 3.0.0, < 3.0.2 [affected] |
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 (x_refsource_CONFIRM)
- https://github.com/geoserver/geoserver/pull/9928 (x_refsource_MISC)
- https://github.com/geoserver/geoserver/releases/tag/2.27.7 (x_refsource_MISC)
- https://github.com/geoserver/geoserver/releases/tag/2.28.6 (x_refsource_MISC)
- https://github.com/geoserver/geoserver/releases/tag/3.0.2 (x_refsource_MISC)
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 (x_refsource_MISC)
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938 (x_refsource_MISC)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705 (government-resource)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.