CVE-2025-21621: GeoServer is an open source server that allows users to share and edit geospatial data
CVE-2025-21621 is a medium-severity flaw (CVSS 6.1) affecting geoserver. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-11-25 |
| Last modified | 2026-10-18 |
Last updated 2026-10-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-21621?
geoserver: upgrade to 2.25.0. Exact commands for each OS are on this page.
Is CVE-2025-21621 being exploited?
CVE-2025-21621 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-21621 affect?
CVE-2025-21621 affects geoserver. Severity is medium (CVSS 6.1). 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
How urgent is CVE-2025-21621?
Priority 27/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-58360 HIGH 8.2 EXPLOITED UPGRADE OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability
- CVE-2025-27511 HIGH 7.2 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-52465 HIGH 7.2 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-58175 MEDIUM 6.5 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-30220 CRITICAL 9.9 UPGRADE UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data