Medium severity6.1NVD Advisory· Published Nov 25, 2025· Updated Jun 17, 2026
CVE-2025-21621
CVE-2025-21621
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.geoserver.web:gs-web-appMaven | < 2.25.0 | 2.25.0 |
org.geoserver:gs-wmsMaven | < 2.25.0 | 2.25.0 |
Affected products
4- ghsa-coords2 versions
< 2.25.0+ 1 more
- (no CPE)range: < 2.25.0
- (no CPE)range: < 2.25.0
Patches
Vulnerability mechanics
References
7- github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7dnvdPatchWEB
- github.com/advisories/GHSA-w66h-j855-qr72ghsaADVISORY
- github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-21621ghsaADVISORY
- github.com/geoserver/geoserver/pull/7406nvdIssue TrackingWEB
- osgeo-org.atlassian.net/browse/GEOS-11203ghsaWEB
- osgeo-org.atlassian.net/browse/GEOS-11297nvdIssue TrackingWEB
News mentions
0No linked articles in our index yet.