{"id":"CVE-2026-45535","summary":"DataEase: Stored SQL Injection Vulnerability","details":"DataEase is an open source data visualization and analysis tool. Prior to 2.10.23, DataEase SQL-type datasets store attacker-controlled SQL variable defaultValue entries such as ${var} and SqlparserUtils.handleVariableDefaultValue() inserts them with String.replace() without escaping or parameterization, causing stored SQL injection whenever a user with dataset read permission accesses the dataset. This issue is fixed in version 2.10.23.","aliases":["GHSA-pv23-p64m-4pxf"],"modified":"2026-07-22T04:18:31.099324Z","published":"2026-07-15T19:39:47.951Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45535.json"},"references":[{"type":"WEB","url":"https://github.com/dataease/dataease/releases/tag/v2.10.23"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45535.json"},{"type":"ADVISORY","url":"https://github.com/dataease/dataease/security/advisories/GHSA-pv23-p64m-4pxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45535"},{"type":"FIX","url":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dataease/dataease","events":[{"introduced":"0"},{"fixed":"22930a493d900fe3d8084b3dd4c0125abdb2a847"},{"fixed":"cd4844cc45049e73a53d65e3a58454a167a3dffb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.10.23"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.10.22","v2.10.21","v2.10.20","v2.10.19","v2.10.18","v2.10.17","v2.10.16","v2.10.15","v2.10.14","v2.10.13","v2.10.12","v2.10.11","v2.10.10","v2.10.9","v2.10.8","v2.10.7","v2.10.6","v2.10.5","v2.10.4","v2.10.3","v2.10.2","v2.10.1","v2.10.0","v2.6.0","v2.3.0","v2.2.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45535.json","vanir_signatures_modified":"2026-07-22T04:18:31Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"file":"core/core-backend/src/main/java/io/dataease/commons/utils/DeSqlparserUtils.java","function":"handleVariableDefaultValueWithPreparedParams"},"deprecated":false,"digest":{"function_hash":"145806032203346986228141870424549737423","length":4601},"id":"CVE-2026-45535-0fae2ff0","signature_type":"Function"},{"id":"CVE-2026-45535-24e6a6e0","signature_type":"Function","signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"file":"core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java","function":"handleVariableDefaultValueWithPreparedParams"},"deprecated":false,"digest":{"function_hash":"297120888404016560054635098541197546842","length":3665}},{"signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"file":"core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java"},"deprecated":false,"digest":{"line_hashes":["118196236560150462429540963242073320606","115270960358011268433505828068930713313","326257906427392963341240931420471592685","242646130002341030608844711918049013086","235635682715367136681181383768876071823","40414585612220223607230879411039324233","158451763707895779637296866078935499482","210777076313855608479828386858194926901","219924542140767621952722843260803247663","161055803918564106332134621881248663637","247783534813435479365210526411409223820","184596499212626809073204367704191420388"],"threshold":0.9},"id":"CVE-2026-45535-96c1617e","signature_type":"Line"},{"target":{"function":"getTableFields","file":"core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java"},"deprecated":false,"digest":{"function_hash":"300773633739470513794147496039477694274","length":4246},"id":"CVE-2026-45535-9964427a","signature_type":"Function","signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847"},{"deprecated":false,"digest":{"line_hashes":["11401329150859328278953775016222556499","314048420593121333027132047399845481865","185734621979970478954334934089240518637","235340033112916777389217289652768156743","232334512980923841940585559052701885734","185346904935901331568875182906574239908","48311262042734491295919655308076174612","339200018490040596015568645681713966705","235340033112916777389217289652768156743","168617002864170837225617953344328423347","114146178033761488991947584982788165150","216828252532662824052873218911733264271","314156871049687367291945874927533134788"],"threshold":0.9},"id":"CVE-2026-45535-a40d514c","signature_type":"Line","signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"file":"core/core-backend/src/main/java/io/dataease/commons/utils/DeSqlparserUtils.java"}},{"source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"file":"core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java"},"deprecated":false,"digest":{"line_hashes":["82663915937881061298585140347139922361","134236751862690298098639849332803802645","143691876254992914834787425243975252064","167252485963271988385677111971663622433","87915592003077657575432669170886376601","97888718461730199425764664639973809567","82872673138699303080229104293362471228","63855423353122392283517627885205439462","167252485963271988385677111971663622433","132877933222434303111931237223548390125","114146178033761488991947584982788165150","216828252532662824052873218911733264271","314156871049687367291945874927533134788"],"threshold":0.9},"id":"CVE-2026-45535-b5d0913e","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"function_hash":"284341579942495744649626256312864765717","length":3185},"id":"CVE-2026-45535-b8a0cd32","signature_type":"Function","signature_version":"v1","source":"https://github.com/dataease/dataease/commit/22930a493d900fe3d8084b3dd4c0125abdb2a847","target":{"function":"previewSql","file":"core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java"}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}]}