CVE-2025-21621: GeoServer

Medium severity, CVSS 6.1. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • GeoServer GeoServer: before 2.25.0 (fixed in 2.25.0)

Published 2025-11-25. Last modified 2026-06-17.