Vulnerabilities in pkg:maven/com.haulmont.addon.jpawebapi/jpawebapi-jpawebapi
PACKAGECVE-2025-32961 is a MODERATE (CVSS 6.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Jpawebapi jpawebapi libraries in the Maven ecosystem. The issue involves xss in the /download endpoint of the jpa web api. Remediation is available by upgrading affected packages to version 1.1.1.
pkg:maven/com.haulmont.addon.jpawebapi/jpawebapi-jpawebapi
Vulnerability advisories affecting package pkg:maven/com.haulmont.addon.jpawebapi/jpawebapi-jpawebapi. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-hg25-w3vg-7279 | CVE-2025-32961 | MODERATE | XSS in the /download Endpoint of the JPA Web API |
CVE-2025-32961 at a Glance
Security Impact
CVSS: 6.4
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:C/C:L/I:L/A:N).
How to Fix CVE-2025-32961
To remediate this vulnerability, upgrade all affected Jpawebapi jpawebapi 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>com.haulmont.addon.jpawebapi</groupId>
<artifactId>jpawebapi-jpawebapi</artifactId>
<version>1.1.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.haulmont.addon.jpawebapi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-32961, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.haulmont.addon.jpawebapi
Analyze the terminal output to locate any version of Jpawebapi jpawebapi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.haulmont.addon.jpawebapi 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Jpawebapi jpawebapi, 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-32961 Affected Jpawebapi jpawebapi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi
|
Maven |
< 1.1.1
|
1.1.1
|
References
Frequently Asked Questions
What is CVE-2025-32961?
Which Jpawebapi jpawebapi versions are affected?
What version fixes CVE-2025-32961?
Is jpawebapi-jpawebapi affected?
What is the CVSS score of CVE-2025-32961?
What CWE is associated with CVE-2025-32961?
How can I check Maven dependencies for CVE-2025-32961?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hg25-w3vg-7279",
"modified" : "2025-04-23T15:21:43Z",
"published" : "2025-04-22T17:00:27Z",
"aliases" : [ "CVE-2025-32961" ],
"summary" : "XSS in the /download Endpoint of the JPA Web API",
"details" : "### Impact\n\nThe input parameter, which consists of a file path and name, can be manipulated to return the Content-Type header with text/html if the name part ends with .html. This could allow malicious JavaScript code to be executed in the browser. For a successful attack, a malicious file needs to be uploaded beforehand.\n\nThe severity of the vulnerability is mitigated by the fact that the application UI and the JPA Web API are typically accessible only to authenticated users.\n\n### Patches\n\nThe problem has been fixed in CUBA JPA Web API add-on 1.1.1.\n\n### Workarounds\n\nA workaround for those who are unable to upgrade: [Disable Files Endpoint in CUBA Application](https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application).\n\n### References\n\n[Files Functionality Vulnerabilities :: Jmix Documentation](https://docs.jmix.io/jmix/files-vulnerabilities.html)\n\nSimilar vulnerability in Jmix: [XSS in the /files Endpoint of the Generic REST API · Advisory · jmix-framework/jmix](https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cuba-platform/jpawebapi/security/advisories/GHSA-hg25-w3vg-7279"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32961"
}, {
"type" : "WEB",
"url" : "https://github.com/cuba-platform/jpawebapi/commit/78b837d7e2b12d0df69cef1bc6042ebf3bdaf22c"
}, {
"type" : "WEB",
"url" : "https://docs.jmix.io/jmix/files-vulnerabilities.html"
}, {
"type" : "WEB",
"url" : "https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cuba-platform/jpawebapi"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T17:00:27Z",
"nvd_published_at" : "2025-04-22T18:16:00Z"
}
}