{"id":"CVE-2025-21621","state":"PUBLISHED","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.","publishedAt":"2025-11-25T21:52:11.598Z","updatedAt":"2025-11-26T16:03:05.272Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["geoserver geoserver"],"affected":[{"vendor":"geoserver","product":"geoserver","versions":[{"version":"< 2.25.0","status":"affected"}]}],"references":["https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72","https://github.com/geoserver/geoserver/pull/7406","https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","https://osgeo-org.atlassian.net/browse/GEOS-11297"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/21xxx/CVE-2025-21621.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21621","state":"PUBLISHED","datePublished":"2025-11-25T21:52:11.598Z","dateUpdated":"2025-11-26T16:03:05.272Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-12-29T03:00:24.714Z"},"containers":{"cna":{"title":"GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"geoserver","product":"geoserver","versions":[{"version":"< 2.25.0","status":"affected"}]}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72","name":"https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/7406","name":"https://github.com/geoserver/geoserver/pull/7406","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","name":"https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11297","name":"https://osgeo-org.atlassian.net/browse/GEOS-11297","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-25T21:52:11.598Z"},"source":{"advisory":"GHSA-w66h-j855-qr72","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-26T16:02:58.299745Z","id":"CVE-2025-21621","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-26T16:03:05.272Z"}}]}}}