Vulnerabilities in pkg:maven/org.noear/solon-view

PACKAGE
Advisory Identifier: GHSA-2m4q-2c6r-hmc3
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.noear/solon-view

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.noear/solon-view. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2m4q-2c6r-hmc3 CVE-2025-2961 MODERATE Solon Vulnerable to Path Traversal

CVE-2025-2961 at a Glance

CVE Identifier CVE-2025-2961
GHSA Identifier GHSA-2m4q-2c6r-hmc3
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-23: Relative Path Traversal
Affected Product Solon view
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

org.noear:solon-view fixed: Latest secure release
<dependency>
    <groupId>org.noear</groupId>
    <artifactId>solon-view</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2025-2961 is a security vulnerability in Solon view involving Solon Vulnerable to Path Traversal under CWE-23: Relative Path Traversal.
Which Solon view versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.noear:solon-view.
What version fixes CVE-2025-2961?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is solon-view affected?
Yes, org.noear:solon-view is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-2961?
CVE-2025-2961 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-2961?
CVE-2025-2961 is classified under CWE-23: Relative Path Traversal (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.).
How can I check Maven dependencies for CVE-2025-2961?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.noear'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}