CUBA JPA Web API Vulnerable to Cross-Site Scripting (XSS) in the /download Endpoint
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cuba-platform | jpawebapi | before 1.1.1 | 1.1.1 | Patch available | CNA |
| — | com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven) | before 1.1.1 | 1.1.1 | Patch available | GHSA-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
- 2026-10-02 Threatist record created from CVE-2025-32961
- 2026-10-03 Alias added: GHSA-hg25-w3vg-7279
References
Other 6
- https://github.com/cuba-platform/jpawebapi/security/advisories/GHSA-hg25-w3vg-7279
- https://github.com/cuba-platform/jpawebapi/commit/78b837d7e2b12d0df69cef1bc6042ebf3bdaf22c
- https://docs.jmix.io/jmix/files-vulnerabilities.html
- https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application
- https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93
- https://github.com/cuba-platform/jpawebapi
More cuba-platform vulnerabilities
- 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
- CVE-2025-32961 · CVE Program
- CVE-2025-32961 · NVD
- FIRST EPSS
- GHSA-hg25-w3vg-7279 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences