CVE-2023-25157

CRITICALNVD 9.89.8—
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 85% (99th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Elevated
9.8EG
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 85%
CISA-KEV: Not listedEPSS PROB: 85%CVSS: 9.8Exploit: Elevated riskExposed services: Not assessed

A fix is available — apply it.

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 v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
93
EG Risk 93/100CISA SSVC

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation85% × 40%
Automatability100% × 15%
CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
85%
EPSS %ILE
99th
KEV
Not listed

CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

February 21, 2023

Last Modified

November 21, 2024

Advisory Details (2)

Auto-updated Oct 10, 2026
Patch available. Sources: github_commit, github.
githubMentions a patch (unverified)

OGC Filter SQL Injection Vulnerabilities · Advisory · geoserver/geoserver · GitHub

https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
github_commit Patch Available

commit 145a8af79859 (geoserver/geoserver)

Patch available: geoserver/geoserver 2.24.4 (contains commit 145a8af79859)

https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d

Affected Packages

(1 across 1 ecosystem)
Maven(1)
PackageVulnerable rangeFix by version rangeDependents
org.geoserver.community:gs-jdbcconfig—
  • every version up to 2.21.4: fixed in 2.21.4
  • 2.22.0 up to 2.22.2: fixed in 2.22.2
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 1× in last 7d / 11× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-10-07 23:45 UTCEPSS rescore
  2. 2026-10-03 14:23 UTCEPSS rescore
  3. 2026-10-01 19:47 UTCEPSS rescore
  4. 2026-09-30 16:18 UTCEG score recompute
  5. 2026-09-24 14:01 UTCEPSS rescore
  6. 2026-09-23 19:34 UTCOSV refresh
  7. 2026-09-22 14:45 UTCEPSS rescore
  8. 2026-09-18 19:25 UTCEPSS rescore
  9. 2026-09-17 19:24 UTCEPSS rescore
  10. 2026-09-16 14:05 UTCEPSS rescore
  11. 2026-09-12 14:58 UTCEPSS rescore
  12. 2026-09-07 15:59 UTCEPSS rescore
  13. 2026-09-06 13:45 UTCEPSS rescore
  14. 2026-09-05 15:25 UTCEPSS rescore
  15. 2026-09-04 14:24 UTCOSV refresh
  16. 2026-09-04 05:04 UTCEPSS rescore
  17. 2026-08-30 19:15 UTCEPSS rescore
  18. 2026-08-30 01:19 UTCEPSS rescore
  19. 2026-08-28 21:38 UTCEPSS rescore
  20. 2026-08-26 14:43 UTCEPSS rescore
  21. 2026-08-24 14:14 UTCEPSS rescore
  22. 2026-08-21 23:46 UTCEPSS rescore
  23. 2026-08-19 17:01 UTCEPSS rescore
  24. 2026-08-18 01:39 UTCOSV refresh
  25. 2026-08-17 13:44 UTCEPSS rescore
Show 50 more
  1. 2026-08-16 02:12 UTCEPSS rescore
  2. 2026-08-13 21:58 UTCEPSS rescore
  3. 2026-08-12 13:48 UTCEPSS rescore
  4. 2026-08-07 16:24 UTCEPSS rescore
  5. 2026-08-02 20:27 UTCOSV refresh
  6. 2026-07-24 14:15 UTCEPSS rescore
  7. 2026-07-23 02:19 UTCEG score recompute
  8. 2026-07-22 23:07 UTCEG score recompute
  9. 2026-07-22 14:06 UTCEPSS rescore
  10. 2026-07-20 17:05 UTCEPSS rescore
  11. 2026-07-16 17:01 UTCEPSS rescore
  12. 2026-07-16 17:01 UTCEPSS rescore
  13. 2026-07-16 04:53 UTCOSV refresh
  14. 2026-07-13 22:28 UTCEPSS rescore
  15. 2026-07-13 22:28 UTCEPSS rescore
  16. 2026-07-11 08:25 UTCEPSS rescore
  17. 2026-07-11 08:25 UTCEPSS rescore
  18. 2026-07-08 15:13 UTCEPSS rescore
  19. 2026-07-07 13:44 UTCEPSS rescore
  20. 2026-07-06 02:21 UTCEPSS rescore
  21. 2026-07-04 06:29 UTCEPSS rescore
  22. 2026-07-04 06:29 UTCEPSS rescore
  23. 2026-06-30 23:21 UTCEPSS rescore
  24. 2026-06-29 14:04 UTCEPSS rescore
  25. 2026-06-28 04:54 UTCEPSS rescore
  26. 2026-06-28 04:54 UTCEPSS rescore
  27. 2026-06-28 04:34 UTCOSV refresh
  28. 2026-06-25 13:48 UTCEPSS rescore
  29. 2026-06-25 13:48 UTCEPSS rescore
  30. 2026-06-23 21:31 UTCEPSS rescore
  31. 2026-06-23 21:31 UTCEPSS rescore
  32. 2026-06-15 17:47 UTCEPSS rescore
  33. 2026-06-11 13:59 UTCEPSS rescore
  34. 2026-06-11 13:58 UTCEPSS rescore
  35. 2026-06-10 22:17 UTCEPSS rescore
  36. 2026-06-10 15:17 UTCOSV refresh
  37. 2026-06-07 15:23 UTCEPSS rescore
  38. 2026-06-07 15:23 UTCEPSS rescore
  39. 2026-06-02 20:12 UTCEPSS rescore
  40. 2026-06-02 20:12 UTCEPSS rescore
  41. 2026-06-02 20:12 UTCEPSS rescore
  42. 2026-06-01 13:51 UTCEPSS rescore
  43. 2026-06-01 13:50 UTCEPSS rescore
  44. 2026-05-27 13:39 UTCEPSS rescore
  45. 2026-05-26 13:43 UTCEPSS rescore
  46. 2026-05-26 13:43 UTCEPSS rescore
  47. 2026-05-26 07:18 UTCEPSS rescore
  48. 2026-05-26 07:17 UTCEPSS rescore
  49. 2026-05-26 07:17 UTCEPSS rescore
  50. 2026-05-25 06:18 UTCEG score recompute

Publicly available exploits

(7 references)

Public exploit code is referenced for this CVE (6 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

  • GitHub PoCcharis3306/CVE-2023-25157
    Published Apr 24, 2025

    CVE-2023-25157 exp

    Open source ↗
  • GitHub PoCdr-cable-tv/Geoserver-CVE-2023-25157
    Published Nov 28, 2023

    Geoserver SQL Injection Exploit

    Open source ↗
  • Nucleihttp/cves/2023/CVE-2023-25157.yaml
    Published Jun 24, 2023

    GeoServer OGC Filter - SQL Injection

    Open source ↗
  • GitHub PoC7imbitz/CVE-2023-25157-checker
    Published Jun 12, 2023

    A script, written in golang. POC for CVE-2023-25157

    Open source ↗
  • GitHub PoCmurataydemir/CVE-2023-25157-and-CVE-2023-25158
    Published Jun 11, 2023

    GeoServer & GeoTools SQL Injection (CVE-2023-25157 & CVE-2023-25158)

    Open source ↗
  • GitHub PoC0x2458bughunt/CVE-2023-25157
    Published Jun 10, 2023
    Open source ↗
  • GitHub PoCwin3zz/CVE-2023-25157
    Published Jun 6, 2023

    CVE-2023-25157 - GeoServer SQL Injection - PoC

    Open source ↗

Frequently asked(5)

What is CVE-2023-25157?
CVE-2023-25157 is a critical vulnerability published on February 21, 2023. 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.…
When was CVE-2023-25157 disclosed?
CVE-2023-25157 was first published on February 21, 2023, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2023-25157 actively exploited?
CVE-2023-25157 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 85% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2023-25157?
CVE-2023-25157 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2023-25157?
A fix for CVE-2023-25157 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-25157

Explore →

Is Your Infrastructure Affected by CVE-2023-25157?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.