GeoServer < 2.27.7 / 2.28.x < 2.28.6 / 3.0.x < 3.0.2 WFS GetFeatureById XML Injection

high Web App Scanning Plugin ID 115867

Synopsis

GeoServer < 2.27.7 / 2.28.x < 2.28.6 / 3.0.x < 3.0.2 WFS GetFeatureById XML Injection

Description

GeoServer versions through 2.27.6, 2.28.0 through 2.28.5 and 3.0.0 through 3.0.1 substitute the ID parameter into the built-in WFS GetFeatureById stored query without escaping XML. Parsing the resulting query permits XInclude resolution, allowing unauthenticated local file disclosure and server-side request forgery. This plugin confirms external resolution using an out-of-band DNS callback and does not require custom stored query creation. Detection requires the scanner out-of-band service and outbound DNS connectivity from the target.

Solution

Upgrade to GeoServer 2.27.7, 2.28.6, 3.0.2 or a later fixed version.

See Also

https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47

Plugin Details

Severity: High

ID: 115867

Type: Check Based

Published: 11/25/2026

Updated: 11/30/2026

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 7.3

Percentile: 98.03

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: High

Base Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

CVSS Score Source: Tenable

Vulnerability Information

CPE: cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 11/23/2026

Reference Information

CVE: CVE-2026-120705