{"cve":"CVE-2025-32960","nvd":{"published":"2025-04-22T18:16:00.380","modified":"2026-06-17T09:12:52.090","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4},"cwes":["CWE-79"],"references":["https://docs.jmix.io/jmix/files-vulnerabilities.html","https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application","https://github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1","https://github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56","https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-32960","score":0.00325,"percentile":0.25603,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-88h5-34xw-2q56","url":"https://osv.dev/vulnerability/GHSA-88h5-34xw-2q56","summary":"XSS in the /files Endpoint of the Generic REST API","modified":"2026-02-04T03:45:50.677382Z","packages":[{"ecosystem":"Maven","name":"com.haulmont.addon.restapi:restapi-rest-api","purl":"pkg:maven/com.haulmont.addon.restapi/restapi-rest-api","ranges":["<7.2.7"],"fixed":["7.2.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}