Vulnerabilities · 2025 · Geoserver
CVE-2025-21621
Geoserver vulnerability
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.
Affected products
Geoserver. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Geoserver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72
- github.com/geoserver/geoserver/pull/7406
- osgeo-org.atlassian.net/browse/GEOS-11203
- osgeo-org.atlassian.net/browse/GEOS-11297
- nvd.nist.gov/vuln/detail/CVE-2025-21621
- github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d
- github.com/advisories/GHSA-w66h-j855-qr72
- nvd.nist.gov/vuln/detail/CVE-2025-21621
- cve.org/CVERecord?id=CVE-2025-21621
More vulnerabilities in Geoserver products
CVE-2025-58360CVE-2024-36401CVE-2024-34696CVE-2024-24749CVE-2024-23821CVE-2024-23819CVE-2024-23818CVE-2024-23643All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.