CVE-2023-25157

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2023-02-22. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Elevated

Also known asEUVD-2023-0652 (ENISA EUVD) · GHSA-7g5f-wrx8-5ccf (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • Public exploit or proof-of-concept code is available
CISA-KEV: Not listedEPSS PROB: 13%CVSS: 9.8Exploit: Public PoCExposed 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/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation86% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
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
13%
EPSS %ILE
97th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
13% within 30 daysSource: FIRST EPSS. FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track 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). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
CVE.orgMITRE · CVE ProgramCVE Record published21 Feb 2023, 21:00 UTCrecorded later, in a bulk import or a late collectionCVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-7g5f-wrx8-5ccf22 Feb 2023, 19:15 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
CVE.orgMITRE · CVE ProgramCVE Record last updated10 Mar 2025, 21:07 UTC—CVE.org record

Advisory Details (2)

Auto-updated Oct 10, 2026
Patch available. Sources: github_commit, github.
GitHub advisoryMentions 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

Vendor Advisories for CVE-2023-25157(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(2)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
mavenorg.geoserver.community:gs-jdbcconfig @ 2.21.4 (fixes < 2.21.4)—ghsa
mavenorg.geoserver.community:gs-jdbcconfig @ 2.22.2 (fixes >= 2.22.0, < 2.22.2)—ghsa

These rows come from GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.

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 10× in last 7d / 41× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 166 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 66 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-25 16:31 UTCEPSS rescoreEPSS 13% · 97th percentile
  2. 2026-11-25 09:01 UTCEchelonGraph re-scored
  3. 2026-11-25 09:01 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-24 16:38 UTCEPSS rescoreEPSS 86% · 99th percentile
  5. 2026-11-24 08:18 UTCEchelonGraph re-scored
  6. 2026-11-24 08:18 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-23 07:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  8. 2026-11-22 06:53 UTCEchelonGraph re-scored
  9. 2026-11-22 06:53 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  10. 2026-11-21 16:34 UTCEPSS rescoreEPSS 86% · 99th percentile
  11. 2026-11-21 06:00 UTCEchelonGraph re-scored
  12. 2026-11-21 06:00 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-20 16:33 UTCEPSS rescoreEPSS 86% · 99th percentile
  14. 2026-11-20 05:18 UTCEchelonGraph re-scored
  15. 2026-11-20 05:18 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-19 04:36 UTCEchelonGraph re-scored
  17. 2026-11-19 04:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  18. 2026-11-18 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
  19. 2026-11-18 03:53 UTCEchelonGraph re-scored
  20. 2026-11-18 03:53 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  21. 2026-11-17 03:11 UTCEchelonGraph re-scored
  22. 2026-11-17 03:11 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  23. 2026-11-16 16:42 UTCEPSS rescoreEPSS 86% · 99th percentile
  24. 2026-11-16 02:28 UTCEchelonGraph re-scored
  25. 2026-11-16 02:28 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
Show 75 more
  1. 2026-11-15 16:44 UTCEPSS rescoreEPSS 86% · 99th percentile
  2. 2026-11-15 00:15 UTCEchelonGraph re-scored
  3. 2026-11-15 00:15 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-13 23:29 UTCEchelonGraph re-scored
  5. 2026-11-13 23:29 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-12 22:44 UTCEchelonGraph re-scored
  7. 2026-11-12 22:44 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  8. 2026-11-12 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
  9. 2026-11-11 21:50 UTCEchelonGraph re-scored
  10. 2026-11-11 21:50 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-11 16:33 UTCEPSS rescoreEPSS 86% · 99th percentile
  12. 2026-11-10 21:08 UTCEchelonGraph re-scored
  13. 2026-11-10 21:08 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  14. 2026-11-09 20:17 UTCEchelonGraph re-scored
  15. 2026-11-09 20:17 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-09 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
  17. 2026-11-08 19:35 UTCEchelonGraph re-scored
  18. 2026-11-08 19:35 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  19. 2026-11-08 16:34 UTCEPSS rescoreEPSS 85% · 99th percentile
  20. 2026-11-07 18:52 UTCEchelonGraph re-scored
  21. 2026-11-07 18:52 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  22. 2026-11-06 18:10 UTCEchelonGraph re-scored
  23. 2026-11-06 18:10 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-05 17:27 UTCEchelonGraph re-scored
  25. 2026-11-05 17:27 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  26. 2026-11-04 16:44 UTCEchelonGraph re-scored
  27. 2026-11-04 16:44 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  28. 2026-11-04 16:31 UTCEPSS rescoreEPSS 85% · 99th percentile
  29. 2026-11-04 10:55 UTCOSV refresh
  30. 2026-11-03 16:01 UTCEchelonGraph re-scored
  31. 2026-11-03 16:01 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  32. 2026-11-02 15:19 UTCEchelonGraph re-scored
  33. 2026-11-02 15:19 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  34. 2026-11-01 14:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  35. 2026-11-01 08:22 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
  36. 2026-11-01 08:22 UTCEchelonGraph re-scored
  37. 2026-10-31 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  38. 2026-10-31 13:54 UTCEchelonGraph re-scored
  39. 2026-10-30 13:12 UTCEchelonGraph re-scored
  40. 2026-10-29 16:30 UTCEPSS rescoreEPSS 85% · 99th percentile
  41. 2026-10-29 12:29 UTCEchelonGraph re-scored
  42. 2026-10-28 11:40 UTCEchelonGraph re-scored
  43. 2026-10-27 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  44. 2026-10-27 10:42 UTCEchelonGraph re-scored
  45. 2026-10-25 17:47 UTCEchelonGraph re-scored
  46. 2026-10-25 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  47. 2026-10-25 09:17 UTCEchelonGraph re-scored
  48. 2026-10-24 08:35 UTCEchelonGraph re-scored
  49. 2026-10-23 07:52 UTCEchelonGraph re-scored
  50. 2026-10-22 16:30 UTCEPSS rescoreEPSS 85% · 99th percentile
  51. 2026-10-22 07:07 UTCEchelonGraph re-scored
  52. 2026-10-21 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  53. 2026-10-21 06:24 UTCEchelonGraph re-scored
  54. 2026-10-20 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  55. 2026-10-20 05:42 UTCEchelonGraph re-scored
  56. 2026-10-19 04:58 UTCEchelonGraph re-scored
  57. 2026-10-18 04:15 UTCEchelonGraph re-scored
  58. 2026-10-17 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  59. 2026-10-17 03:25 UTCEchelonGraph re-scored
  60. 2026-10-16 02:40 UTCEchelonGraph re-scored
  61. 2026-10-14 22:40 UTCEchelonGraph re-scored
  62. 2026-10-14 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  63. 2026-10-13 18:16 UTCEchelonGraph re-scored
  64. 2026-10-13 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
  65. 2026-10-12 17:31 UTCEchelonGraph re-scored
  66. 2026-10-11 21:57 UTCEchelonGraph re-scored
  67. 2026-10-07 23:45 UTCEPSS rescoreEPSS 85% · 99th percentile
  68. 2026-10-03 14:23 UTCEPSS rescoreEPSS 85% · 99th percentile
  69. 2026-10-01 19:47 UTCEPSS rescoreEPSS 85% · 99th percentile
  70. 2026-09-30 16:18 UTCEchelonGraph re-scored
  71. 2026-09-24 14:01 UTCEPSS rescoreEPSS 85% · 99th percentile
  72. 2026-09-23 19:34 UTCOSV refresh
  73. 2026-09-22 14:45 UTCEPSS rescoreEPSS 85% · 99th percentile
  74. 2026-09-18 19:25 UTCEPSS rescoreEPSS 85% · 99th percentile
  75. 2026-09-17 19:24 UTCEPSS rescoreEPSS 85% · 99th percentile

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 repositories: 4 of 6 labelled (2 exploit code, 1 detection tool, 1 with no code files when read).

  • GitHub PoCcharis3306/CVE-2023-25157Exploit code (read on 2026-11-25)
    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 repositorymurataydemir/CVE-2023-25157-and-CVE-2023-25158No code files in the default branch when read on 2026-11-25
    Published Jun 11, 2023

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

    Open source ↗
  • GitHub repository0x2458bughunt/CVE-2023-25157Detection tool (read on 2026-11-25)
    Published Jun 10, 2023
    Open source ↗
  • GitHub PoCwin3zz/CVE-2023-25157Exploit code (read on 2026-11-25)
    Published Jun 6, 2023

    CVE-2023-25157 - GeoServer SQL Injection - PoC

    Open source ↗

Labels marked on GitHub repositories are EchelonGraph's. Gemini (Google Vertex AI) and Claude (Anthropic) read each repository's description, the first 6,000 bytes of its README and up to 200 paths of its file list; where they do not give the same label with every check passing, or the repository's text uses words of both kinds, a second Claude model is asked once. These labels are shown only where at least two of these models gave them (all three where the text uses words of both kinds) and every quote and file those models cited was found in the repository (rule poc-kind-verifier-v4). Each label shows the day its repository was read; it is read again only when those checks change, and is taken down if it no longer passes them. Repository content belongs to its authors.

"No code files in the default branch" is read from the repository's complete file list on GitHub, on the day shown; no model is used for it. The file list is read again every 7 days, and the label is shown only while a reading within the last 14 days still finds no code files.

Frequently asked(5)

What is CVE-2023-25157?
CVE-2023-25157 is a critical-severity vulnerability; its CVE record was 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 the CVE record for CVE-2023-25157 published?
The CVE record for CVE-2023-25157 was published on February 21, 2023. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of March 10, 2025; it may have been updated since EchelonGraph last read it.
Is CVE-2023-25157 actively exploited?
CVE-2023-25157 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 13% probability of exploitation in the next 30 days (97th 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. The vendor advisories EchelonGraph has for CVE-2023-25157 are linked in the Vendor Advisories panel on this page.

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.