{"id":"CVE-2024-23821","published":"2024-03-20T18:03:25Z","modified":"2025-04-10T20:17:43Z","title":"GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)","vendor":"geoserver","product":"geoserver","tier":"tail","description":{"text":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.4 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the GWC Demos Page.  Access to the GWC Demos Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a patch for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00405,"percentile":0.35644,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/GeoWebCache/geowebcache/issues/1171","tags":["x_refsource_MISC"]},{"url":"https://github.com/GeoWebCache/geowebcache/pull/1173","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":7.13},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"geoserver","versions":["< 2.23.4","= 2.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-21T15:30:06.327042Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver:gs-gwc","vulnerableRanges":[">=2.24.0, <2.24.1","<2.23.4"],"patched":["2.24.1","2.23.4"],"from":["GHSA-88wc-fcj9-q3r9"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the GWC Demos Page of GeoServer, the open source Java geospatial data server, allows a JavaScript payload to be saved in the catalog and executed in the browsers of other users who view that page. Exploitation requires an authenticated administrator with workspace-level privileges to plant the payload, and it requires user interaction, since another user must open the GWC Demos Page for the script to run; data security settings may further limit whether the payload can be triggered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:02Z"},"euvd":{"id":"EUVD-2024-0872","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-23821","published":"2024-03-20","fixed":"2.24.1","kev":false},{"cve":"CVE-2024-24749","published":"2024-07-01","fixed":"2.24.3","kev":false,"link":{"from":"CVE-2024-23821","to":"CVE-2024-24749","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.geoserver:gs-gwc","fromFixed":"2.23.4","toFixed":"2.23.5","daysApart":103}]}},{"cve":"CVE-2024-38524","published":"2025-06-10","fixed":"2.26.2","kev":false}],"package":"Maven:org.geoserver:gs-gwc"}}