Reflected Cross-Site Scripting Vulnerability in GeoServer
CVE-2025-21621
6.1MEDIUM
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
