# CVE-2025-62421: DataEase vulnerable to stored cross-site scripting via file upload bypass

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-10-17T17:11:14.624Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

DataEase is a data visualization and analytics platform. In DataEase versions through 2.10.13, a stored cross-site scripting vulnerability exists due to improper file upload validation and authentication bypass. The StaticResourceApi interface defines a route upload/{fileId} that uses a URL path parameter where both the filename and extension of uploaded files are controllable by users. During permission validation, the TokenFilter invokes the WhitelistUtils#match method to determine if the URL path is in the allowlist. If the requestURI ends with .js or similar extensions, it is directly deemed safe and bypasses permission checks. This allows an attacker to access "upload/1.js" while specifying arbitrary file extensions, enabling the upload of HTML files containing malicious JavaScript. The vulnerability is fixed in version 2.10.14. No known workarounds exist.

(As written by CVE List.)

## Affected

- dataease dataease: < 2.10.14; before 2.10.14

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/dataease/dataease/security/advisories/GHSA-2wmv-rr3p-pf43> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-62421](https://www.cve.org/CVERecord?id=CVE-2025-62421), CVE Terms of Use, modified 2025-10-17
- NVD: [CVE-2025-62421](https://nvd.nist.gov/vuln/detail/CVE-2025-62421), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-62421 · Whole record: https://cve.day/CVE-2025-62421.json · Rebuilt by cve.day 2026-11-25T22:59:06.535Z
