Critical severity · published Feb 21, 2023
CVE-2023-25157
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
9.8
CVSS
85.2%
EPSS
No
On KEV
Description
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoServer includes support for the OGC Filter expression language and the OGC Common Query Language (CQL) as part of the Web Feature Service (WFS) and Web Map Service (WMS) protocols. CQL is also supported through the Web Coverage Service (WCS) protocol for ImageMosaic coverages. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should disable the PostGIS Datastore *encode functions* setting to mitigate ``strEndsWith``, ``strStartsWith`` and ``PropertyIsLike `` misuse and enable the PostGIS DataStore *preparedStatements* setting to mitigate the ``FeatureId`` misuse.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)85.2% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
Geoserver · Osgeo
before 2.18.7; 2.19.0 before 2.19.7; 2.20.0 before 2.20.7; 2.21.0 before 2.21.4; 2.22.0 before 2.22.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-25157
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-25157
Patch
https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d
Vendor Advisory
https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
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-43795
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
9.1
CVE-2025-30220
GeoServer is an open source server that allows users to share and edit geospatial data
8.2
CVE-2025-58175
GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
