# CVE-2025-32961: CUBA JPA Web API Vulnerable to Cross-Site Scripting (XSS) in the /download Endpoint

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-04-22T17:00:27.000Z
- Modified: 2026-06-17T09:12:52.187Z
- Also known as: GHSA-hg25-w3vg-7279
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- cuba-platform jpawebapi: < 1.1.1
- com.haulmont.addon.jpawebapi:jpawebapi-jpawebapi (Maven): before 1.1.1

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/cuba-platform/jpawebapi/security/advisories/GHSA-hg25-w3vg-7279> (web)
- <https://github.com/cuba-platform/jpawebapi/commit/78b837d7e2b12d0df69cef1bc6042ebf3bdaf22c> (web)
- <https://docs.jmix.io/jmix/files-vulnerabilities.html> (web)
- <https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application> (web)
- <https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32961> (advisory)
- <https://github.com/cuba-platform/jpawebapi> (package)

## Sources

- CVE List: [CVE-2025-32961](https://www.cve.org/CVERecord?id=CVE-2025-32961), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-hg25-w3vg-7279](https://github.com/advisories/GHSA-hg25-w3vg-7279), CC-BY-4.0, modified 2025-04-23
- NVD: [CVE-2025-32961](https://nvd.nist.gov/vuln/detail/CVE-2025-32961), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32961 · Whole record: https://cve.day/CVE-2025-32961.json · Rebuilt by cve.day 2026-11-25T22:58:56.841Z
