Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
cuba-platform restapi
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CUBA REST API Add-on是CUBA Platform开源的一个通用的 REST API。 CUBA REST API Add-on 7.2.7之前版本存在跨站脚本漏洞,该漏洞源于文件路径操作不当,可能导致恶意JavaScript执行。

CVSS 6.4 · Medium EPSS 0.31% · P23
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-32960

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CUBA Generic REST API Vulnerable to Cross-Site Scripting (XSS) in the /files Endpoint
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
CUBA REST API Add-on 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CUBA REST API Add-on是CUBA Platform开源的一个通用的 REST API。 CUBA REST API Add-on 7.2.7之前版本存在跨站脚本漏洞,该漏洞源于文件路径操作不当,可能导致恶意JavaScript执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cuba-platform restapi < 7.2.7 -

II. Public POCs for CVE-2025-32960

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-32960

登录查看更多情报信息。

Patches & Fixes for CVE-2025-32960 (1)

Vendor Advisories for CVE-2025-32960 (2)

Other References for CVE-2025-32960 (2)

Same Patch Batch · cuba-platform · 2025-04-22 · 3 CVEs total

CVE-2025-32959 6.5 MEDIUM CUBA Vulnerable to Denial of Service (DoS) in the File Storage
CVE-2025-32961 6.4 MEDIUM CUBA JPA Web API Vulnerable to Cross-Site Scripting (XSS) in the /download Endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2025-32960

No comments yet


Leave a comment