{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-32951","id":"CVE-2025-32951","title":"io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API","description":"Jmix is a set of libraries and tools to speed up Spring Boot data-centric application development. In versions 1.0.0 to 1.6.1 and 2.0.0 to 2.3.4, 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 ","descriptionLong":"Jmix is a set of libraries and tools to speed up Spring Boot data-centric application development. In versions 1.0.0 to 1.6.1 and 2.0.0 to 2.3.4, 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 versions 1.6.2 and 2.4.0. A workaround is provided on the Jmix documentation website.","published":"2025-04-22T17:32:23.401Z","updated":"2026-10-28T10:59:08.111755763Z","reserved":"2025-04-14T21:47:11.450Z","status":"Analyzed","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":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"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":["jmix-framework jmix"],"affectedProducts":[{"vendor":"jmix-framework","product":"jmix","defaultStatus":null,"versions":[{"version":">= 1.0.0, < 1.6.2","status":"affected"},{"version":">= 2.0.0, < 2.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"io.jmix.rest:jmix-rest","purl":"pkg:maven/io.jmix.rest/jmix-rest","ranges":[">=1.0.0 <1.6.2",">=2.0.0 <2.4.0"],"fixed":["1.6.2","2.4.0"],"advisory":"GHSA-x27v-f838-jh93"}],"cwes":["CWE-79"],"aliases":["GHSA-x27v-f838-jh93"],"references":[{"url":"https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/jmix-framework/jmix/issues/3804","tags":["x_refsource_MISC","Issue Tracking","report","web"]},{"url":"https://github.com/jmix-framework/jmix/issues/3836","tags":["x_refsource_MISC","Issue Tracking","report","web"]},{"url":"https://github.com/jmix-framework/jmix/commit/6a66aa3adb967159a30d703e80403406f4c8f7a2","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/jmix-framework/jmix/commit/c589ef4e2b25620770b8036f4ad05f1a6250cb6a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/jmix-framework/jmix/commit/cc97e6ff974b9e7af8160fab39cc5866169daa37","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/jmix-framework/jmix/commit/f4e6fb05bd245cf36f3e9319aaa0fcd540d024aa","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html","tags":["x_refsource_MISC","Vendor Advisory","web"]},{"url":"https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-jmix-application","tags":["x_refsource_MISC","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32951.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32951","tags":["advisory"]},{"url":"https://github.com/jmix-framework/jmix","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.00368,"epssPercentile":0.31479,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-32951","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32951","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-32951","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x27v-f838-jh93","ok":true,"note":"GHSA-x27v-f838-jh93"},{"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-32951","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}