Vulnerabilities in pkg:maven/org.geoserver.extension/gs-wps-core
PACKAGECVE-2025-30145 is a HIGH (CVSS 7.5) geoserver infinite loop vulnerability vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting Gs web app libraries in the Maven ecosystem. The issue involves geoserver infinite loop vulnerability in jiffle process. Remediation is available by upgrading affected packages to version 2.26.3, 2.25.7.
pkg:maven/org.geoserver.extension/gs-wps-core
Vulnerability advisories affecting package pkg:maven/org.geoserver.extension/gs-wps-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gr67-pwcv-76gf | CVE-2025-30145 | HIGH | GeoServer Infinite Loop Vulnerability in Jiffle process |
| GHSA-5pr3-m5hm-9956 | CVE-2023-43795 | HIGH | WPS Server Side Request Forgery vulnerability |
CVE-2025-30145 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-30145
To remediate this vulnerability, upgrade all affected Gs web app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.geoserver.web</groupId>
<artifactId>gs-web-app</artifactId>
<version>2.26.3</version>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wms</artifactId>
<version>2.26.3</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-wps-core</artifactId>
<version>2.26.3</version>
</dependency>
<dependency>
<groupId>org.geoserver.web</groupId>
<artifactId>gs-web-app</artifactId>
<version>2.25.7</version>
</dependency>
<dependency>
<groupId>org.geoserver</groupId>
<artifactId>gs-wms</artifactId>
<version>2.25.7</version>
</dependency>
<dependency>
<groupId>org.geoserver.extension</groupId>
<artifactId>gs-wps-core</artifactId>
<version>2.25.7</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.geoserver.web
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-30145, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.geoserver.web
Analyze the terminal output to locate any version of Gs web app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.26.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.geoserver.web command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In Gs web app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30145 Affected Gs web app Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.geoserver.web:gs-web-app
|
Maven |
≥ 2.26.0
< 2.26.3
|
2.26.3
|
|
org.geoserver:gs-wms
|
Maven |
≥ 2.26.0
< 2.26.3
|
2.26.3
|
|
org.geoserver.extension:gs-wps-core
|
Maven |
≥ 2.26.0
< 2.26.3
|
2.26.3
|
|
org.geoserver.web:gs-web-app
|
Maven |
< 2.25.7
|
2.25.7
|
|
org.geoserver:gs-wms
|
Maven |
< 2.25.7
|
2.25.7
|
|
org.geoserver.extension:gs-wps-core
|
Maven |
< 2.25.7
|
2.25.7
|
References
Frequently Asked Questions
What is CVE-2025-30145?
Which Gs web app versions are affected?
What version fixes CVE-2025-30145?
Is gs-web-app affected?
Is gs-wms affected?
What is the CVSS score of CVE-2025-30145?
What CWE is associated with CVE-2025-30145?
How can I check Maven dependencies for CVE-2025-30145?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gr67-pwcv-76gf",
"modified" : "2025-06-10T19:44:31Z",
"published" : "2025-06-10T19:44:31Z",
"aliases" : [ "CVE-2025-30145" ],
"summary" : "GeoServer Infinite Loop Vulnerability in Jiffle process",
"details" : "### Summary\nMalicious Jiffle scripts can be executed by GeoServer, either as a rendering transformation in WMS dynamic styles or as a WPS process, that can enter an infinite loop to trigger denial of service.\n\n### Details\nThe Jiffle language supports multiple loop constructs that will cause its code block to be continuously executed until a certain condition is met. The Jiffle runtime should be updated to throw an exception if the script exceeds a certain number of loop iterations.\n\n### Impact\nThis vulnerability allows attackers to conduct denial-of-service attacks.\n\n### Mitigation\nThis vulnerability can be mitigated by disabling WMS dynamic styling (see [WMS Settings](https://docs.geoserver.org/latest/en/user/services/wms/webadmin.html#disabling-usage-of-dynamic-styling-in-getmap-getfeatureinfo-and-getlegendgraphic-requests)).\nIf the WPS extension is installed, the Jiffle process must also be disabled to mitigate this vulnerability (see [WPS Settings](https://docs.geoserver.org/latest/en/user/services/wps/security.html#input-limits))\n\n### References\nhttps://github.com/geosolutions-it/jai-ext/pull/307\nhttps://osgeo-org.atlassian.net/browse/GEOS-11778",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.web:gs-web-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.26.0"
}, {
"fixed" : "2.26.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.26.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver:gs-wms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.26.0"
}, {
"fixed" : "2.26.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.26.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.extension:gs-wps-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.26.0"
}, {
"fixed" : "2.26.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.26.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.web:gs-web-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.25.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.25.6"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver:gs-wms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.25.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.25.6"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.geoserver.extension:gs-wps-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.25.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.25.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/geoserver/geoserver/security/advisories/GHSA-gr67-pwcv-76gf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30145"
}, {
"type" : "WEB",
"url" : "https://github.com/geosolutions-it/jai-ext/pull/307"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/geoserver/geoserver"
}, {
"type" : "WEB",
"url" : "https://osgeo-org.atlassian.net/browse/GEOS-11778"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-835" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T19:44:31Z",
"nvd_published_at" : "2025-06-10T15:15:24Z"
}
}