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.
CVE-2023-25157
“—” 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.
Also known asEUVD-2023-0652 (ENISA EUVD) · GHSA-7g5f-wrx8-5ccf (GitHub Security Advisories)Source: ENISA EUVD
- Public exploit or proof-of-concept code is available
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 93EG 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).
| Source | Event | Source's date | Recorded by EchelonGraph | Link |
|---|---|---|---|---|
| CVE.orgMITRE · CVE Program | CVE Record published | 21 Feb 2023, 21:00 UTC | recorded later, in a bulk import or a late collection | CVE.org record |
| GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)Licence | GitHub advisory publishedGHSA-7g5f-wrx8-5ccf | 22 Feb 2023, 19:15 UTC | recorded later, in a bulk import or a late collection | GitHub advisory |
| CVE.orgMITRE · CVE Program | CVE Record last updated | 10 Mar 2025, 21:07 UTC | — | CVE.org record |
Advisory Details (2)
Auto-updated Oct 10, 2026OGC Filter SQL Injection Vulnerabilities · Advisory · geoserver/geoserver · GitHub
https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccfcommit 145a8af79859 (geoserver/geoserver)
Patch available: geoserver/geoserver 2.24.4 (contains commit 145a8af79859)
https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1dVendor 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 / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| maven | org.geoserver.community:gs-jdbcconfig @ 2.21.4 (fixes < 2.21.4) | — | ghsa |
| maven | org.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)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| org.geoserver.community:gs-jdbcconfig | — |
| — |
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.
- 2026-11-25 16:31 UTCEPSS rescoreEPSS 13% · 97th percentile
- 2026-11-25 09:01 UTCEchelonGraph re-scored
- 2026-11-25 09:01 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-24 16:38 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-24 08:18 UTCEchelonGraph re-scored
- 2026-11-24 08:18 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-23 07:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-22 06:53 UTCEchelonGraph re-scored
- 2026-11-22 06:53 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-21 16:34 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-21 06:00 UTCEchelonGraph re-scored
- 2026-11-21 06:00 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-20 16:33 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-20 05:18 UTCEchelonGraph re-scored
- 2026-11-20 05:18 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-19 04:36 UTCEchelonGraph re-scored
- 2026-11-19 04:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-18 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-18 03:53 UTCEchelonGraph re-scored
- 2026-11-18 03:53 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-17 03:11 UTCEchelonGraph re-scored
- 2026-11-17 03:11 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-16 16:42 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-16 02:28 UTCEchelonGraph re-scored
- 2026-11-16 02:28 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
Show 75 moreShow fewer
- 2026-11-15 16:44 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-15 00:15 UTCEchelonGraph re-scored
- 2026-11-15 00:15 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-13 23:29 UTCEchelonGraph re-scored
- 2026-11-13 23:29 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-12 22:44 UTCEchelonGraph re-scored
- 2026-11-12 22:44 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-12 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-11 21:50 UTCEchelonGraph re-scored
- 2026-11-11 21:50 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-11 16:33 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-10 21:08 UTCEchelonGraph re-scored
- 2026-11-10 21:08 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-09 20:17 UTCEchelonGraph re-scored
- 2026-11-09 20:17 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-09 16:30 UTCEPSS rescoreEPSS 86% · 99th percentile
- 2026-11-08 19:35 UTCEchelonGraph re-scored
- 2026-11-08 19:35 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-08 16:34 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-11-07 18:52 UTCEchelonGraph re-scored
- 2026-11-07 18:52 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-06 18:10 UTCEchelonGraph re-scored
- 2026-11-06 18:10 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-05 17:27 UTCEchelonGraph re-scored
- 2026-11-05 17:27 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-04 16:44 UTCEchelonGraph re-scored
- 2026-11-04 16:44 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-04 16:31 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-11-04 10:55 UTCOSV refresh
- 2026-11-03 16:01 UTCEchelonGraph re-scored
- 2026-11-03 16:01 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-02 15:19 UTCEchelonGraph re-scored
- 2026-11-02 15:19 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 14:36 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:22 UTCGHSA enrichmentGHSA-7g5f-wrx8-5ccf · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:22 UTCEchelonGraph re-scored
- 2026-10-31 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-31 13:54 UTCEchelonGraph re-scored
- 2026-10-30 13:12 UTCEchelonGraph re-scored
- 2026-10-29 16:30 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-29 12:29 UTCEchelonGraph re-scored
- 2026-10-28 11:40 UTCEchelonGraph re-scored
- 2026-10-27 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-27 10:42 UTCEchelonGraph re-scored
- 2026-10-25 17:47 UTCEchelonGraph re-scored
- 2026-10-25 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-25 09:17 UTCEchelonGraph re-scored
- 2026-10-24 08:35 UTCEchelonGraph re-scored
- 2026-10-23 07:52 UTCEchelonGraph re-scored
- 2026-10-22 16:30 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-22 07:07 UTCEchelonGraph re-scored
- 2026-10-21 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-21 06:24 UTCEchelonGraph re-scored
- 2026-10-20 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-20 05:42 UTCEchelonGraph re-scored
- 2026-10-19 04:58 UTCEchelonGraph re-scored
- 2026-10-18 04:15 UTCEchelonGraph re-scored
- 2026-10-17 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-17 03:25 UTCEchelonGraph re-scored
- 2026-10-16 02:40 UTCEchelonGraph re-scored
- 2026-10-14 22:40 UTCEchelonGraph re-scored
- 2026-10-14 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-13 18:16 UTCEchelonGraph re-scored
- 2026-10-13 16:29 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-12 17:31 UTCEchelonGraph re-scored
- 2026-10-11 21:57 UTCEchelonGraph re-scored
- 2026-10-07 23:45 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-03 14:23 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-10-01 19:47 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-30 16:18 UTCEchelonGraph re-scored
- 2026-09-24 14:01 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-23 19:34 UTCOSV refresh
- 2026-09-22 14:45 UTCEPSS rescoreEPSS 85% · 99th percentile
- 2026-09-18 19:25 UTCEPSS rescoreEPSS 85% · 99th percentile
- 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-25157Published Nov 28, 2023
Geoserver SQL Injection Exploit
Open source ↗ - Nucleihttp/cves/2023/CVE-2023-25157.yamlPublished Jun 24, 2023
GeoServer OGC Filter - SQL Injection
Open source ↗ - GitHub PoC7imbitz/CVE-2023-25157-checkerPublished 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-25Published Jun 11, 2023
GeoServer & GeoTools SQL Injection (CVE-2023-25157 & CVE-2023-25158)
Open source ↗ - Open source ↗GitHub repository0x2458bughunt/CVE-2023-25157Detection tool (read on 2026-11-25)Published Jun 10, 2023
- 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.
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2023-25157?
When was the CVE record for CVE-2023-25157 published?
Is CVE-2023-25157 actively exploited?
What is the CVSS score of CVE-2023-25157?
How do I remediate CVE-2023-25157?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-25157
Is Your Infrastructure Affected by CVE-2023-25157?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.