{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21621","id":"CVE-2025-21621","title":"GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format","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","descriptionLong":"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","updated":"2026-11-11T13:22:53.749927870Z","reserved":"2024-12-29T03:00:24.714Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["geoserver"],"affectedProducts":[{"vendor":"geoserver","product":"geoserver","defaultStatus":null,"versions":[{"version":"< 2.25.0","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-w66h-j855-qr72"},{"ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":["<2.25.0"],"fixed":["2.25.0"],"advisory":"GHSA-w66h-j855-qr72"}],"cwes":["CWE-79"],"aliases":["GHSA-w66h-j855-qr72"],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/geoserver/geoserver/pull/7406","tags":["x_refsource_MISC","Issue Tracking","fix","web"]},{"url":"https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11297","tags":["x_refsource_MISC","Issue Tracking","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21621.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21621","tags":["advisory"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11203","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00317,"epssPercentile":0.25299,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21621","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21621","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21621","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w66h-j855-qr72","ok":true,"note":"GHSA-w66h-j855-qr72"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21621","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}