Org.geoserver.web:gs web app: GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS
Affects org.geoserver.web:gs-web-appSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 2.25.0 when convenient.
Data as of 19 Nov 2026, 02:53 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- Patch
- Available – fixed in 2.25.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade org.geoserver.web:gs-web-app and org.geoserver:gs-wms to 2.25.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.geoserver.web:gs-web-app | Affected
| Fixed in
|
| Mavenorg.geoserver:gs-wms | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in GeoServer version 2.25.0 that fixes this vulnerability. Users should upgrade to version 2.25.0 or later. Alternatively, enabling GetFeatureInfo HTML auto-escaping (available in versions 2.21.3+ and 2.22.1+), disabling dynamic styling, or disabling the GetFeatureInfo text/html MIME type can mitigate the issue in most environments.
Description
GeoServer versions prior to 2.25.0 contain a reflected cross-site scripting (XSS) vulnerability in the WMS GetFeatureInfo HTML output format. This flaw allows remote attackers to execute arbitrary JavaScript in users' browsers via crafted SLD_BODY parameters. The vulnerability arises because HTML auto-escaping is disabled or missing by default in affected versions. Successful exploitation can lead to full compromise of the victim user within the application, including unauthorized actions and data access. A fix is available in GeoServer 2.25.0.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-21621 (opens in a new tab)
- github.com/geoserver/geoserver/pull/7406 (opens in a new tab)
- github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d (opens in a new tab)
- github.com/geoserver/geoserver (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOS-11203 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOS-11297 (opens in a new tab)