{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-49736","id":"CVE-2023-49736","title":"Apache Superset: SQL Injection on where_in JINJA macro","description":"A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.\n\nUsers are recommended to upgrade to version 3.0.2, which fixes the issue.","descriptionLong":"A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.\n\nUsers are recommended to upgrade to version 3.0.2, which fixes the issue.","published":"2023-12-19T09:33:10.415Z","updated":"2026-10-28T02:31:14.103681738Z","reserved":"2023-11-30T13:16:23.851Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"apache"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"apache"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"apache.org"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache Superset"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Superset","defaultStatus":"unaffected","versions":[{"lessThan":"2.1.2","status":"affected","version":"0","versionType":"semver"},{"lessThan":"3.0.2","status":"affected","version":"3.0.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apache-superset","purl":"pkg:pypi/apache-superset","ranges":["<2.1.3",">=3.0.0 <3.0.2"],"fixed":["2.1.3","3.0.2"],"advisory":"GHSA-jfxj-xf67-x723"}],"cwes":["CWE-89"],"aliases":["BIT-superset-2023-49736","GHSA-jfxj-xf67-x723","PYSEC-2026-1184"],"references":[{"url":"https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p","tags":["vendor-advisory","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/19/2","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49736.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49736","tags":["advisory"]},{"url":"https://github.com/apache/superset/pull/25779","tags":["web"]},{"url":"https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751","tags":["web"]},{"url":"https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d","tags":["web"]},{"url":"https://github.com/apache/superset","tags":["package"]},{"url":"https://pypi.org/project/apache-superset","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jfxj-xf67-x723","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01188,"epssPercentile":0.68562,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-49736","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49736","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-49736","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jfxj-xf67-x723","ok":true,"note":"GHSA-jfxj-xf67-x723"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-49736","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}