CVE-2025-21621: GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format
Vulnerability summary
CVE-2025-21621 is a medium (CVSS 6.1) vulnerability in geoserver. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.6% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-11-2025PublishedVulnerability first disclosed.
- 26-11-2025Last modifiedVulnerability information updated.
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.25.0, a reflected cross-site scripting (XSS) vulnerability exists in the WMS GetFeatureInfo HTML output format that enables a remote attacker to execute arbitrary JavaScript code in a victim's browser through specially crafted SLD_BODY parameters. This issue has been patched in version 2.25.0.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Increase +0.24 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Geoserver1 product
- geoserver< 2.25.0
Org.geoserver1 product
- gs-wms< 2.25.0
Org.geoserver.web1 product
- gs-web-app< 2.25.0
Osgeo1 product
- geoserver< 2.25.0
4 vendors · 4 products
References
7 links- github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72X Refsource CONFIRMWEBVendor Advisory
- github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7dX Refsource MISCWEBPatch