CVE-2025-32951io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API
- 6.4MediumCVSS base score
- 0.37%Exploitation in 30 daysEPSS · top 69% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 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.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
- 35 days later
· 35 days 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 · Analyzed | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.37% · top 69% of all CVEs (19 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 >= 1.0.0, < 1.6.2
- affected >= 2.0.0, < 2.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenio.jmix.rest:jmix-restGHSA-x27v-f838-jh93 (opens in a new tab)
References
References9
- https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/jmix-framework/jmix/issues/3804 (opens in a new tab)x_refsource_MISC
- https://github.com/jmix-framework/jmix/issues/3836 (opens in a new tab)x_refsource_MISC
- https://github.com/jmix-framework/jmix/commit/6a66aa3adb967159a30d703e80403406f4c8f7a2 (opens in a new tab)x_refsource_MISC
- https://github.com/jmix-framework/jmix/commit/c589ef4e2b25620770b8036f4ad05f1a6250cb6a (opens in a new tab)x_refsource_MISC
- https://github.com/jmix-framework/jmix/commit/cc97e6ff974b9e7af8160fab39cc5866169daa37 (opens in a new tab)x_refsource_MISC
- https://github.com/jmix-framework/jmix/commit/f4e6fb05bd245cf36f3e9319aaa0fcd540d024aa (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-jmix-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-12225 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x27v-f838-jh93 (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-32951)Record last updated .