CVE-2025-32951

io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API

Published Apr 22, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-12225 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.
Github GHSA Github GHSA GHSA-x27v-f838-jh93 io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API
History
Type Values Removed Values Added
First Time appeared Haulmont
Haulmont cuba Platform
Haulmont cuba Rest Api
Haulmont jmix Framework
Haulmont jpa Web Api
CPEs cpe:2.3:a:haulmont:cuba_platform:*:*:*:*:*:*:*:*
cpe:2.3:a:haulmont:cuba_rest_api:*:*:*:*:*:*:*:*
cpe:2.3:a:haulmont:jmix_framework:*:*:*:*:*:*:*:*
cpe:2.3:a:haulmont:jpa_web_api:*:*:*:*:*:*:*:*
Vendors & Products Haulmont
Haulmont cuba Platform
Haulmont cuba Rest Api
Haulmont jmix Framework
Haulmont jpa Web Api
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title io.jmix.rest:jmix-rest allows XSS in the /files Endpoint of the Generic REST API
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 27, 2025, 5:18 PM
Reserved
Apr 14, 2025, 9:47 PM
Status
Analyzed
Published
Apr 22, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:12 AM