CVE-2024-23818

GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format

Published Mar 20, 2024 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.3 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 WMS GetMap OpenLayers Output Format. Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0915 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.3 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 WMS GetMap OpenLayers Output Format. Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.
Github GHSA Github GHSA GHSA-fcpm-hchj-mh72 GeoServer's WMS OpenLayers Format vulnerable to Stored Cross-Site Scripting (XSS)
History
Type Values Removed Values Added
First Time appeared Geoserver
Geoserver geoserver
CPEs cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
cpe:2.3:a:geoserver:geoserver:2.24.0:-:*:*:*:*:*:*
Vendors & Products Geoserver
Geoserver geoserver
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 1, 2024, 11:13 PM
Reserved
Jan 22, 2024, 10:23 PM
Status
Analyzed
Published
Mar 20, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:13 AM