GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Style Publisher
geoserver
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.geoserver:gs-main Maven |
|
|
| org.geoserver:gs-ows Maven |
|
|
geoserver
| Product | Affected | Fixed in |
|---|---|---|
| org.geoserver:gs-main Maven |
|
|
| org.geoserver:gs-ows Maven |
|
|
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.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user's browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.0 contain a fix for this issue.
From the CVE record · GitHub_M
GeoServer versions prior to 2.23.3 and 2.24.0 have a stored cross-site scripting vulnerability in the Style Publisher. An authenticated administrator with workspace-level privileges can upload a style or legend resource, or a specially crafted datastore file, that executes JavaScript in another user's browser when viewed in the Style Publisher. Data security settings may limit which users can trigger the issue.
Teams running affected GeoServer versions or Maven packages org.geoserver:gs-main and org.geoserver:gs-ows below 2.23.3 should check their deployments.