5.5medium
DataEase vulnerable to stored cross-site scripting via file upload bypass
- Severity
- 5.5medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dataease dataease | < 2.10.14, before 2.10.14 | CVE List, NVD |
All scores
| GitHub_M | 5.5medium CVSS:4.0 | 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 | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
DataEase es una plataforma de visualización y análisis de datos. En las versiones de DataEase hasta la 2.10.13, existe una vulnerabilidad de cross-site scripting almacenado debido a una validación de carga de archivos inadecuada y a una omisión de autenticación. La interfaz StaticResourceApi define una ruta upload/{fileId} que utiliza un parámetro de ruta URL donde tanto el nombre de archivo como la extensión de los archivos cargados son controlables por los usuarios. Durante la validación de permisos, el TokenFilter invoca el método WhitelistUtils#match para determinar si la ruta URL está en la lista de permitidos. Si la requestURI termina con .js o extensiones similares, se considera directamente segura y omite las comprobaciones de permisos. Esto permite a un atacante acceder a 'upload/1.js' mientras especifica extensiones de archivo arbitrarias, lo que permite la carga de archivos HTML que contienen JavaScript malicioso. La vulnerabilidad se corrige en la versión 2.10.14. No existen soluciones alternativas conocidas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62421 changed 2025-10-17 | CVE Terms of Use |
| NVD | CVE-2025-62421 changed 2026-10-19 | Public domain |