Skip to main content
CVE-2025-21621VulnerabilityPublished Updated

Org.geoserver.web:gs web app: GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS

Affects org.geoserver.web:gs-web-appSource GCVE Database

0
Compare
Authoritative record:CVE-2025-21621· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 2.25.0 when convenient.

Data as of 19 Nov 2026, 02:53 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.1
Patch
Available – fixed in 2.25.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.

What to do

Upgrade org.geoserver.web:gs-web-app and org.geoserver:gs-wms to 2.25.0.

Affected software

ProductAffectedFixed in
Mavenorg.geoserver.web:gs-web-appAffected
  • <2.25.0
Fixed in
  • 2.25.0
Mavenorg.geoserver:gs-wmsAffected
  • <2.25.0
Fixed in
  • 2.25.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in GeoServer version 2.25.0 that fixes this vulnerability. Users should upgrade to version 2.25.0 or later. Alternatively, enabling GetFeatureInfo HTML auto-escaping (available in versions 2.21.3+ and 2.22.1+), disabling dynamic styling, or disabling the GetFeatureInfo text/html MIME type can mitigate the issue in most environments.

Description

GeoServer versions prior to 2.25.0 contain a reflected cross-site scripting (XSS) vulnerability in the WMS GetFeatureInfo HTML output format. This flaw allows remote attackers to execute arbitrary JavaScript in users' browsers via crafted SLD_BODY parameters. The vulnerability arises because HTML auto-escaping is disabled or missing by default in affected versions. Successful exploitation can lead to full compromise of the victim user within the application, including unauthorized actions and data access. A fix is available in GeoServer 2.25.0.

References

Community reviews

Loading reviews…