Read the docs
TI-2025-23971 Aliases CVE-2025-32961GHSA-hg25-w3vg-7279

CUBA JPA Web API Vulnerable to Cross-Site Scripting (XSS) in the /download 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 JPA web API enables loading and saving any entities defined in the application data model by sending simple HTTP requests. Prior to version 1.1.1, 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 1.1.1. 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 jpawebapi (cuba-platform): 1.1.1com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven): 1.1.1

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-platformjpawebapibefore 1.1.11.1.1Patch availableCNA
—com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven)before 1.1.11.1.1Patch availableGHSA-hg25-w3vg-7279
  • jpawebapi Vendorcuba-platform Affected before 1.1.1 Fixed in 1.1.1 Patch available CNA
  • com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven) Vendor— Affected before 1.1.1 Fixed in 1.1.1 Patch available GHSA-hg25-w3vg-7279

Remediation

  • Fix · CNA jpawebapi (cuba-platform) Fixed in 1.1.1
  • Fix · GHSA-hg25-w3vg-7279 com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven) Fixed in 1.1.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-32961
  2. 2026-10-03 Alias added: GHSA-hg25-w3vg-7279

References

  • TI-2025-23969 CUBA Vulnerable to Denial of Service (DoS) in the File Storage CVSS 3.1MEDIUM 6.5
  • TI-2025-23970 CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint CVSS 3.1MEDIUM 6.4

Sources