{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-32960","published":"2025-04-22T18:16:00.380000Z","last_modified":"2026-06-17T09:12:52.090000Z","status":"Deferred","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["cuba-platform"],"products":["cuba-platform/restapi"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-88h5-34xw-2q56","ecosystem":"Maven","name":"com.haulmont.addon.restapi:restapi-rest-api","purl":"pkg:maven/com.haulmont.addon.restapi/restapi-rest-api","ranges":[{"introduced":"0","fixed":"7.2.7"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2025-32960/","html_en":"/en/cve/CVE-2025-32960/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-32960","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-32960"},"untrusted":{"vendor_name":"cuba-platform","product_name":"restapi","desc_en":"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.","affected":[{"untrusted_vendor":"cuba-platform","untrusted_product":"restapi","versions":[]}],"references":[{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html","tags":[]},{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application","tags":[]},{"url":"https://github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1","tags":[]},{"url":"https://github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56","tags":[]},{"url":"https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93","tags":[]}]}}