Live threats

All CVEs / Geoserver

CVE-2025-21621Geoserver

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Nov 25, 2025
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Geoserver.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.geoserver.web:gs-web-app < 2.25.0 2.25.0 —
Maven org.geoserver:gs-wms < 2.25.0 2.25.0 —

Per OSV / GitHub Advisories (GHSA-w66h-j855-qr72). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
geoservergeoserver< 2.25.0

Official sources

References

Links published by the sources. Open them with care.