CVE-2025-32960cuba-platform restapi
Medium 6.4
Follow: this CVE · cuba-platform · cuba-platform restapi We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.4
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 22, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for restapi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.haulmont.addon.restapi:restapi-rest-api |
< 7.2.7 |
7.2.7 |
— |
Per OSV / GitHub Advisories (GHSA-88h5-34xw-2q56). Check the version in your lockfile before upgrading.
Affected products
- cuba-platform · restapi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.