XSS in Cuba-Platform Restapi
CVE-2025-32960
The CUBA REST API add-on performs operations on data and entities. Prior to version 7.2.7, 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 7.2.7. A workaround is provided on the Jmix documentation website.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (22.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 22.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Cuba-Platform Restapi — versions < 7.2.7
Weakness classification (CWE)
References
- github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56
- github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93
- github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1
- docs.jmix.io/jmix/files-vulnerabilities.html
- docs.jmix.io/jmix/files-vulnerabilities.html
Frequently asked questions
- What is CVE-2025-32960?
- CVE-2025-32960 is a medium-severity vulnerability in Cuba-Platform Restapi, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2025-04-22.
- How severe is CVE-2025-32960?
- Medium severity. CVSS v3 base score is 6.4 out of 10.