Description
DataEase is an open source data visualization and analysis tool. Prior to 2.10.23, DataEase SQL preview exposes DatasetDataApi.previewSql/previewSqlCheck through /de2api/datasetData/previewSql, accepts PreviewSqlDTO.sql, PreviewSqlDTO.datasourceId, and PreviewSqlDTO.isCross, then DatasetDataManage.previewSql stores decoded SQL in datasourceRequest.query and CalciteProvider.fetchResultField executes it with prepareStatement(...).executeQuery(), allowing arbitrary readable datasource tables to be queried and returned in preview responses. This issue is fixed in version 2.10.23.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-89 — CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dataease | dataease | < 2.10.23 |
References
- https://github.com/dataease/dataease/security/advisories/GHSA-j4v5-5gcx-cvfc (x_refsource_CONFIRM)
- https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847 (x_refsource_MISC)
- https://github.com/dataease/dataease/releases/tag/v2.10.23 (x_refsource_MISC)
Generated from the official CVE List on 16 Jul 2026 07:01 UTC.