CVE-2025-21621
MEDIUM 6.1CVSS 3.1GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format
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.
- Published
- 25 Nov 2025
- Last modified
- 30 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-w66h-j855-qr72
- Sources
- NVDJSONOSV GHSA-w66h-j855-qr72JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | geoservercpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* |
< 2.25.0 | 2.25.0 |
| OSV | Maven | org.geoserver.web:gs-web-app | < 2.25.0 | 2.25.0 |
| OSV | Maven | org.geoserver:gs-wms | < 2.25.0 | 2.25.0 |
References
- https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d · Patch, WEB
- https://github.com/geoserver/geoserver/pull/7406 · Issue Tracking, WEB
- https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72 · Vendor Advisory, WEB
- https://osgeo-org.atlassian.net/browse/GEOS-11297 · Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-21621 · ADVISORY
- https://github.com/geoserver/geoserver · PACKAGE
- https://osgeo-org.atlassian.net/browse/GEOS-11203 · WEB
History
- 30 Nov 2026 19:41 UTC · NVD: affected list changed (1 entry)
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Nov 2025)