{"cve":"CVE-2025-21621","nvd":{"published":"2025-11-25T22:15:47.227","modified":"2026-10-18T20:10:00.110","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","https://github.com/geoserver/geoserver/pull/7406","https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72","https://osgeo-org.atlassian.net/browse/GEOS-11297"],"products":["geoserver:geoserver"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-21621","score":0.00296,"percentile":0.22045,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-w66h-j855-qr72","url":"https://osv.dev/vulnerability/GHSA-w66h-j855-qr72","summary":"GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format","modified":"2025-11-27T09:16:28.004455Z","packages":[{"ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","ranges":["<2.25.0"],"fixed":["2.25.0"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":["<2.25.0"],"fixed":["2.25.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}