CVE-2025-32960CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint
- 6.4MediumCVSS base score
- 0.33%Exploitation in 30 daysEPSS · top 73% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.33% · top 73% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
- affected < 7.2.7
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.haulmont.addon.restapi:restapi-rest-apiGHSA-88h5-34xw-2q56 (opens in a new tab)
References
References5
- https://github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93 (opens in a new tab)x_refsource_MISC
- https://github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1 (opens in a new tab)x_refsource_MISC
- https://docs.jmix.io/jmix/files-vulnerabilities.html (opens in a new tab)x_refsource_MISC
- https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-12221 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-88h5-34xw-2q56 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-32960)Record last updated .