{"id":"CVE-2024-23821","aliases":["CVE-2024-23821","GHSA-88wc-fcj9-q3r9"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Summary\nA stored cross-site scripting (XSS) vulnerability exists 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.\n\n### Impact\nIf an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user. Amongst other things, the attacker can:\n\n1 .Perform any action within the application that the user can perform.\n2. View any information that the user is able to view.\n3. Modify any information that the user is able to modify.\n4. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.\n\n### References\nhttps://github.com/GeoWebCache/geowebcache/issues/1171\nhttps://github.com/GeoWebCache/geowebcache/pull/1173","format":"markdown","source":"ghsa"},{"lang":"es","text":"GeoServer es un servidor de software de código abierto escrito en Java que permite a los usuarios compartir y editar datos geoespaciales. Existe una vulnerabilidad de cross-site scripting (XSS) almacenado en versiones anteriores a la 2.23.4 y 2.24.1 que permite a un administrador autenticado con privilegios a nivel de espacio de trabajo almacenar un payload de JavaScript en el catálogo de GeoServer que se ejecutará en el contexto de la cuenta de otro usuario. navegador cuando se ve en la página de demostraciones de GWC. El acceso a la página de demostraciones de GWC está disponible para todos los usuarios, aunque la seguridad de los datos puede limitar la capacidad de los usuarios para activar el XSS. Las versiones 2.23.4 y 2.24.1 contienen un parche para este problema.","source":"nvd"}],"published":"2024-03-20T15:18:21.000Z","modified":"2026-11-30T19:14:34.723Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.23.4","status":"affected"},{"version":"= 2.24.0","status":"affected"}],"vendor":"geoserver","product":"geoserver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.24.0","status":"affected","fixed":"2.24.1"}],"ecosystem":"Maven","package":"org.geoserver:gs-gwc","purl":"pkg:maven/org.geoserver/gs-gwc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.23.4"}],"ecosystem":"Maven","package":"org.geoserver:gs-gwc","purl":"pkg:maven/org.geoserver/gs-gwc","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.23.4"},{"status":"affected","version":"2.24.0"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/GeoWebCache/geowebcache/issues/1171","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/GeoWebCache/geowebcache/pull/1173","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23821","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-21T15:30:06.327Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23821","url":"https://www.cve.org/CVERecord?id=CVE-2024-23821","licence":"CVE Terms of Use","modified":"2025-04-10T20:17:43.665Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-88wc-fcj9-q3r9","url":"https://github.com/advisories/GHSA-88wc-fcj9-q3r9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:00.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23821","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23821","licence":"Public domain","modified":"2026-11-30T19:14:34.723Z"}],"updatedAt":"2026-11-30T19:17:12.595Z","epss":{"score":0.00405,"percentile":0.36865,"date":"2026-12-01T12:00:22.000Z"}}