{"id":"CVE-2023-22579","aliases":["CVE-2023-22579","GHSA-vqfx-gj96-3w95"],"related":[],"kind":"vulnerability","state":"published","title":"Sequalize - Unsafe fall-through in getWhereConditions","summary":"Due to improper parameter filtering in the sequalize js library, can a attacker peform injection.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Due to improper parameter filtering in the sequalize js library, can a attacker peform injection.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nProviding an invalid value to the `where` option of a query caused Sequelize to ignore that option instead of throwing an error. \n\nA finder call like the following did not throw an error:\n\n```ts\nUser.findAll({\n  where: new Date(),\n});\n```\n\nAs this option is typically used with plain javascript objects, be aware that this only happens at the top level of this option.\n\n### Patches\n\nThis issue has been patched in [`sequelize@6.28.1`](https://github.com/sequelize/sequelize/pull/15699) & [`@sequelize/core@7.0.0.alpha-20`](https://github.com/sequelize/sequelize/pull/15375)\n\n### References\n\nA discussion thread about this issue is open at https://github.com/sequelize/sequelize/discussions/15698\n\nCVE:  CVE-2023-22579\nSnyk: https://security.snyk.io/vuln/SNYK-JS-SEQUELIZE-3324090","format":"markdown","source":"ghsa"}],"published":"2023-02-16T14:11:37.235Z","modified":"2026-06-17T05:35:40.200Z","severity":{"scorer":"DIVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"DIVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"version":"<v7.0.0-alpha.20","status":"affected"}],"vendor":"Feathers-Sequalize","product":"Sequelize.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.28.1"}],"ecosystem":"npm","package":"sequelize","purl":"pkg:npm/sequelize","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.0.0-alpha.20"}],"ecosystem":"npm","package":"@sequelize/core","purl":"pkg:npm/%40sequelize/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.28.1"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"}],"vendor":"sequelizejs","product":"sequelize","cpe":"cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://csirt.divd.nl/CVE-2023-22579","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://csirt.divd.nl/DIVD-2022-00020/","tags":["related","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sequelize/sequelize/security/advisories/GHSA-vqfx-gj96-3w95","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22579","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/pull/15375","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/pull/15699","tags":["web"],"sources":["ghsa"]},{"url":"https://csirt.divd.nl/DIVD-2022-00020","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/discussions/15698","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/releases/tag/v6.28.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sequelize/sequelize/releases/tag/v7.0.0-alpha.20","tags":["web"],"sources":["ghsa"]}],"credits":["Thomas Rinsma (Codean)","Kevin Valk (Codean)","Victor Pasman (DIVD)","Frank Breedijk (DIVD)"],"assigner":"DIVD","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-18T14:45:28.983Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-22579","url":"https://www.cve.org/CVERecord?id=CVE-2023-22579","licence":"CVE Terms of Use","modified":"2025-04-01T04:48:14.582Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vqfx-gj96-3w95","url":"https://github.com/advisories/GHSA-vqfx-gj96-3w95","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:37.032Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-22579","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22579","licence":"Public domain","modified":"2026-06-17T05:35:40.200Z"}],"updatedAt":"2026-11-25T22:58:22.043Z","epss":{"score":0.00846,"percentile":0.59157,"date":"2026-12-01T12:00:22.000Z"}}