CVE-2025-21621
Last modified
CVE-2025-21621 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Geoserver | Geoserver | < 2.25.0 |
References
- https://github.com/geoserver/geoserver/pull/7406Issue Tracking
- https://osgeo-org.atlassian.net/browse/GEOS-11297Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-21621?
How severe is CVE-2025-21621?
How do I fix CVE-2025-21621?
Are you affected by CVE-2025-21621?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
