# CVE-2026-120705: GeoServer: Unauthenticated WFS GetFeatureById XML injection

Status: published. Published: 2026-11-30. Updated: 2026-12-03.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: security-advisories@github.com) — https://github.com/geoserver/geoserver/pull/9928
- fix: org.geoserver:gs-wfs-core (maven): GitHub reports patched versions 2.27.7. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- fix: org.geoserver:gs-wfs-core (maven): GitHub reports patched versions 2.28.6. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- fix: org.geoserver:gs-wfs-core (maven): GitHub reports patched versions 3.0.2. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- fix: org.geotools:gt-metadata (maven): GitHub reports patched versions 33.7. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- fix: org.geotools:gt-metadata (maven): GitHub reports patched versions 34.6. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- fix: org.geotools:gt-metadata (maven): GitHub reports patched versions 35.2. Check the advisory for the affected release branch. (source: GitHub GHSA-39mw-5chv-jh47) — https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47

## Affected products and 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). Source: CNA: GitHub_M
-  / org.geoserver:gs-wfs-core (org.geoserver:gs-wfs-core): <= 2.27.6 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47
-  / org.geoserver:gs-wfs-core (org.geoserver:gs-wfs-core): >= 2.28.0, <= 2.28.5 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47
-  / org.geoserver:gs-wfs-core (org.geoserver:gs-wfs-core): >= 3.0.0, <= 3.0.1 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47
-  / org.geotools:gt-metadata (org.geotools:gt-metadata): <= 33.6 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47
-  / org.geotools:gt-metadata (org.geotools:gt-metadata): >= 34.0, <= 34.5 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47
-  / org.geotools:gt-metadata (org.geotools:gt-metadata): >= 35.0, <= 35.1 (affected, GitHub advisory range). Source: GitHub GHSA-39mw-5chv-jh47

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.27.7",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.28.6",
            "versionStartIncluding": "2.28.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "3.0.2",
            "versionStartIncluding": "3.0.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "33.7",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "34.6",
            "versionStartIncluding": "34.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "35.2",
            "versionStartIncluding": "35.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 8.6 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N; source: CNA: GitHub_M

- CVSS 3.1: 8.6 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N; source: NVD: security-advisories@github.com

- CISA KEV: listed; Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.; due 2026-11-30

- EPSS: 22.74% as of 2026-12-03; percentile 97.78%

- SSVC: exploitation active; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-91

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/geoserver/geoserver/pull/9928 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/geoserver/geoserver/releases/tag/2.27.7 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/geoserver/geoserver/releases/tag/2.28.6 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/geoserver/geoserver/releases/tag/3.0.2 (CNA: GitHub_M; x_refsource_MISC)

- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 (CNA: GitHub_M; x_refsource_MISC)

- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938 (CNA: GitHub_M; x_refsource_MISC)

- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705 (ADP: CISA-ADP; government-resource)

- https://github.com/geoserver/geoserver/pull/9928 (security-advisories@github.com; Issue Tracking, Patch)

- https://github.com/geoserver/geoserver/releases/tag/2.27.7 (security-advisories@github.com; Release Notes)

- https://github.com/geoserver/geoserver/releases/tag/2.28.6 (security-advisories@github.com; Release Notes)

- https://github.com/geoserver/geoserver/releases/tag/3.0.2 (security-advisories@github.com; Release Notes)

- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 (security-advisories@github.com; Vendor Advisory)

- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 (security-advisories@github.com; Issue Tracking, Vendor Advisory)

- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938 (security-advisories@github.com; Issue Tracking)

- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705 (134c704f-9b21-4f2e-91b3-4a467353bcc0; Third Party Advisory, US Government Resource)

- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-120705; retrieved 2026-12-03; source updated 2026-12-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-120705; retrieved 2026-12-01; source updated 2026-11-30

- GitHub Security Advisories: https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47; retrieved 2026-12-01; source updated 2026-11-23

- CISA KEV: https://www.cisa.gov/known-exploited-vulnerabilities-catalog; retrieved 2026-11-28; source updated Not reported

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-120705; retrieved 2026-12-03; source updated Not reported

Revision: 571c70590f8c8144bb179f61bcd0d8d3571fbf4fc7585b48e60a92c0e0997d11

Canonical: https://y2.dev/cve/CVE-2026-120705

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.