CVE-2025-21621: geoserver · Cross-site Scripting
Affects geoserverSource 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:35 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 geoserver to 2.25.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| geoserver geoserver | Affected
| Fixed in
|
AI-suggested
Upgrade GeoServer to version 2.25.0 or later, where this vulnerability has been patched. No other specific mitigations are indicated by the vendor advisory.
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 specially crafted SLD_BODY parameters. The vulnerability has been fixed in version 2.25.0.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72 (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)
- osgeo-org.atlassian.net/browse/GEOS-11297 (opens in a new tab)