CVE-2025-2961: Solon view Path Traversal Vulnerability
MODERATECVE-2025-2961 is a MODERATE (CVSS 4.3) path traversal vulnerability (CWE-23: Relative Path Traversal) affecting Solon view libraries in the Maven ecosystem. The issue involves solon vulnerable to path traversal. Remediation is available in the latest vendor maintenance releases.
CVE-2025-2961 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-2961
To remediate this vulnerability, upgrade all affected Solon view 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.noear</groupId>
<artifactId>solon-view</artifactId>
<version>Latest secure release</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.noear
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-2961, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.noear
Analyze the terminal output to locate any version of Solon view in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.noear 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-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. In Solon view, 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-2961 Affected Solon view Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.noear:solon-view
|
Maven |
≤ 3.1.0
|
|
References
Frequently Asked Questions
What is CVE-2025-2961?
Which Solon view versions are affected?
What version fixes CVE-2025-2961?
Is solon-view affected?
What is the CVSS score of CVE-2025-2961?
What CWE is associated with CVE-2025-2961?
How can I check Maven dependencies for CVE-2025-2961?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2m4q-2c6r-hmc3",
"modified" : "2025-03-31T16:42:29Z",
"published" : "2025-03-31T00:30:33Z",
"aliases" : [ "CVE-2025-2961" ],
"summary" : "Solon Vulnerable to Path Traversal",
"details" : "A vulnerability classified as problematic was found in opensolon up to 3.1.0. This vulnerability affects the function render_mav of the file /aa of the component org.noear.solon.core.handle.RenderManager. The manipulation of the argument template with the input ../org/example/HelloApp.class leads to path traversal: '../filedir'. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.noear:solon-view"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-2961"
}, {
"type" : "WEB",
"url" : "https://github.com/Q16G/cve_detail/blob/main/solon/templateRCE.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/opensolon/solon"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.302014"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.302014"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.522380"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-23" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-31T16:42:28Z",
"nvd_published_at" : "2025-03-30T22:15:15Z"
}
}