MEDIUM · CVSS 6.1 Published: 2025-11-25
CVE-2025-21621 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-21621 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d
- https://github.com/geoserver/geoserver/pull/7406
- https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72
Related Security Advisories
CVE-2025-2162 MEDIUM 4.8
CVE-2025-21622 HIGH 7.5
CVE-2025-21616 MEDIUM 5.4
CVE-2025-21626 MEDIUM 5.8
CVE-2025-21627 MEDIUM 6.5
CVE-2025-2163 MEDIUM 6.1
CVE-2025-21632 MEDIUM 5.5