CVE-2025-21621 Details
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.
A reflected cross-site scripting vulnerability has been identified in GeoServer versions prior to 2.25.0. This issue resides in the WMS GetFeatureInfo HTML output format, where a remote attacker can execute arbitrary JavaScript in a victim's browser by manipulating SLD_BODY parameters. The vulnerability arises because the WMS service's HTML auto-escaping feature is either disabled by default or absent in these versions.
Users can upgrade to GeoServer version 2.25.0 or later, where this vulnerability is patched. For those using GeoServer versions 2.21.3+ or 2.22.1+, the WMS GetFeatureInfo HTML auto-escaping can be enabled to mitigate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| geoserver geoserver | < 2.25.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Nov 25, 2025 | New CVE Received | [email protected] |