CVE-2025-32960

Source
https://cve.org/CVERecord?id=CVE-2025-32960
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32960.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-32960
Aliases
Related
Published
2025-04-22T17:45:53.855Z
Modified
2026-04-10T05:26:01.849671Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32960.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/cuba-platform/restapi

Affected ranges

Type
GIT
Repo
https://github.com/cuba-platform/restapi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v7.*
v7.2.0
v7.2.0.BETA1
v7.2.0.BETA2
v7.2.2
v7.2.3
v7.2.5
v7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32960.json"