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.
History

Wed, 23 Apr 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 22 Apr 2025 18:00:00 +0000

Type Values Removed Values Added
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.
Title CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T15:59:07.985Z

Reserved: 2025-04-14T21:47:11.453Z

Link: CVE-2025-32960

cve-icon Vulnrichment

Updated: 2025-04-22T19:18:12.652Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-04-22T18:16:00.380

Modified: 2025-04-23T14:08:13.383

Link: CVE-2025-32960

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.