{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-32960","id":"CVE-2025-32960","title":"CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint","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 beforehan","descriptionLong":"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.","published":"2025-04-22T17:45:53.855Z","updated":"2026-10-28T10:59:04.950884476Z","reserved":"2025-04-14T21:47:11.453Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["cuba-platform restapi"],"affectedProducts":[{"vendor":"cuba-platform","product":"restapi","defaultStatus":null,"versions":[{"version":"< 7.2.7","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-88h5-34xw-2q56"}],"cwes":["CWE-79"],"aliases":["GHSA-88h5-34xw-2q56"],"references":[{"url":"https://github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html","tags":["x_refsource_MISC","web"]},{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32960.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32960","tags":["advisory"]},{"url":"https://github.com/cuba-platform/restapi","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00332,"epssPercentile":0.26914,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-32960","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32960","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-32960","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-88h5-34xw-2q56","ok":true,"note":"GHSA-88h5-34xw-2q56"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32960","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}