{"id":"CVE-2025-21621","aliases":["GHSA-w66h-j855-qr72"],"url":"https://o3.security/vulnerability/CVE-2025-21621","summary":"GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format","details":"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.","published":"2025-11-25T21:52:11.598Z","modified":"2026-07-22T03:36:15.562845Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","fixedVersion":"2.25.0"},{"ecosystem":"Maven","name":"org.geoserver:gs-wms","fixedVersion":"2.25.0"}],"fix":{"url":"https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","label":"geoserver/geoserver@dc9ff1c"},"references":[{"type":"WEB","url":"https://osgeo-org.atlassian.net/browse/GEOS-11297"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21621.json"},{"type":"ADVISORY","url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21621"},{"type":"FIX","url":"https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d"},{"type":"FIX","url":"https://github.com/geoserver/geoserver/pull/7406"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-22T03:36:15.562845Z"}}