Read the docs
TI-2025-23970 Aliases CVE-2025-32960GHSA-88h5-34xw-2q56

CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00325 25th percentileScored 2026-11-07
Fix Fixed restapi (cuba-platform): 7.2.7com.haulmont.addon.restapi:restapi-rest-api (Maven): 7.2.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cuba-platformrestapibefore 7.2.77.2.7Patch availableCNA
—com.haulmont.addon.restapi:restapi-rest-api (Maven)before 7.2.77.2.7Patch availableGHSA-88h5-34xw-2q56
  • restapi Vendorcuba-platform Affected before 7.2.7 Fixed in 7.2.7 Patch available CNA
  • com.haulmont.addon.restapi:restapi-rest-api (Maven) Vendor— Affected before 7.2.7 Fixed in 7.2.7 Patch available GHSA-88h5-34xw-2q56

Remediation

  • Fix · CNA restapi (cuba-platform) Fixed in 7.2.7
  • Fix · GHSA-88h5-34xw-2q56 com.haulmont.addon.restapi:restapi-rest-api (Maven) Fixed in 7.2.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-32960
  2. 2026-10-03 Alias added: GHSA-88h5-34xw-2q56

References

  • TI-2025-23969 CUBA Vulnerable to Denial of Service (DoS) in the File Storage CVSS 3.1MEDIUM 6.5
  • TI-2025-23971 CUBA JPA Web API Vulnerable to Cross-Site Scripting (XSS) in the /download Endpoint CVSS 3.1MEDIUM 6.4

Sources