Cross-site scriptingin geoserver.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade geoserver to 2.25.0 or later.
- Upgrade org.geoserver.web:gs-web-app (Maven) to 2.25.0 or later.
- Upgrade org.geoserver:gs-wms (Maven) to 2.25.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Dec 2024CVE ID reserved by GitHub_M.
- 25 Nov 2025Published in the CVE List.
- 26 Nov 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other geoserver vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- osgeo-org.atlassian.net x_refsource_MISC
Patchminder. CVE-2025-21621: Cross-site scripting in geoserver. https://patchminder.com/cve/cve-2025-21621/ (accessed 5 December 2026).