Medium severity · published Mar 20, 2024
CVE-2024-23818
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
4.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
Geoserver · Geoserver
before 2.23.3; 2.24.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-23818
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-23818
Patch
https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2
Patch
https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f
Issue Tracking
https://github.com/geoserver/geoserver/pull/7174
Vendor Advisory
https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72
Issue Tracking
https://osgeo-org.atlassian.net/browse/GEOS-11153
More from Geoserver
9.8
CVE-2025-58360
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
9.8
CVE-2024-36401
Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver
9.8
CVE-2023-35042
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as…
7.5
CVE-2024-24749
GeoServer is an open source server that allows users to share and edit geospatial data
7.2
CVE-2023-51444
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
