CVE-2025-32961 Details
Description
The Cuba JPA web API enables loading and saving any entities defined in the application data model by sending simple HTTP requests. Prior to version 1.1.1, the 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. This issue has been patched in version 1.1.1. A workaround is provided on the Jmix documentation website.
A cross-site scripting (XSS) vulnerability has been identified in the CUBA JPA Web API add-on, specifically in versions prior to 1.1.1. This vulnerability allows for the execution of malicious JavaScript in the browser. It arises from the manipulation of file path input parameters, which can be crafted to return a Content-Type header of text/html if the file name ends with .html. For exploitation, an attacker must first upload a malicious file to the application's file storage. This issue has been addressed in version 1.1.1 of the CUBA JPA Web API add-on.
Users can upgrade to CUBA JPA Web API add-on version 1.1.1 or disable the '/files' endpoint in their CUBA application to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 22, 2025CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Jmix | All versions |
CPE
Remediation
| |
| CUBA | >= 6.2.0, <= 7.2.22 (semver) |
CPE
Remediation
| |
| CUBA REST API add-on | All versions |
CPE
Remediation
| |
| CUBA JPA Web API add-on | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2025 | New CVE Received | [email protected] |
Volerion