9.8

CVE-2023-25157: Unfiltered SQL Injection Vulnerabilities in Geoserver

Modified
AliasesGHSA-7g5f-wrx8-5ccf
Published 21-02-2023Last modified 10-03-2025

Vulnerability summary

CVE-2023-25157 is a critical (CVSS 9.8) vulnerability in geoserver. EPSS estimates a 85.76% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 86% (FIRST, 04-12-2026)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
85.76%
0%100%
Critical · +0.51 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 21-02-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

85.76%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +0.51 pp

From 85.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Geoserver1 product
Org.geoserver.community1 product
  • gs-jdbcconfig< 2.21.4 | ≥ 2.22.0, < 2.22.2
Osgeo1 product
  • geoserver< 2.18.7 | ≥ 2.19.0, < 2.19.7 | ≥ 2.20.0, < 2.20.7 | ≥ 2.21.0, < 2.21.4 | ≥ 2.22.0, < 2.22.2

3 vendors · 3 products

References

4 links