Medium severity6.4OSV Advisory· Published Apr 22, 2025· Updated Jun 17, 2026
CVE-2025-32960
CVE-2025-32960
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.haulmont.addon.restapi:restapi-rest-apiMaven | < 7.2.7 | 7.2.7 |
Affected products
2- Range: v7.2.0, v7.2.0.BETA1, v7.2.0.BETA2, …
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-88h5-34xw-2q56ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-32960ghsaADVISORY
- docs.jmix.io/jmix/files-vulnerabilities.htmlnvdWEB
- docs.jmix.io/jmix/files-vulnerabilities.htmlnvdWEB
- github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1nvdWEB
- github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56nvdWEB
- github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93nvdWEB
News mentions
0No linked articles in our index yet.