Reflected Cross-Site Scripting Vulnerability in GeoServer
CVE-2025-21621

6.1MEDIUM

Key Information:

Vendor

Geoserver

Status
Vendor
CVE Published:
25 November 2025

What is CVE-2025-21621?

GeoServer, an open source server that facilitates the sharing and editing of geospatial data, contains a reflected cross-site scripting (XSS) vulnerability in its WMS GetFeatureInfo output format prior to version 2.25.0. This flaw allows remote attackers to execute arbitrary JavaScript in an unsuspecting user's browser by exploiting specially crafted SLD_BODY parameters. Users are advised to upgrade to version 2.25.0 or later to mitigate this risk. For additional details, refer to the official advisory and commit logs.

Affected Version(s)

geoserver < 2.25.0

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-21621 : Reflected Cross-Site Scripting Vulnerability in GeoServer