CVE-2025-21621

MEDIUM CVSS 3.1: 6.1 EPSS 0.32%
Updated Oct 18, 2026
Geoserver
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions before 2.25.0
Fixed In 2.25.0
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Geoserver
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Geoserver Geoserver
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
— 2.25.0