{"id":"CVE-2019-10752","published":"2019-10-17T18:12:43Z","modified":"2024-08-04T22:32:01Z","title":"Sequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json()…","vendor":null,"product":null,"tier":"tail","description":{"text":"Sequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json() helper function not escaping values properly when formatting sub paths for JSON queries for MySQL, MariaDB and SQLite.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01462,"percentile":0.74246,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/sequelize/sequelize/commit/9bd0bc1%2C","tags":["x_refsource_MISC"]},{"url":"https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751%2C","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.85}]},"affectedVersions":[{"vendor":"n/a","product":"sequelize","versions":["All versions prior to version 4.44.3 and 5.15.1"]}],"affected":[{"ecosystem":"npm","package":"sequelize","vulnerableRanges":["<4.44.3",">=5.0.0, <5.15.1"],"patched":["4.44.3","5.15.1"],"from":["GHSA-m9jw-237r-gvfv"],"provenance":"source"}],"summary":{"text":"The Sequelize ORM, in versions before 4.44.3 and 5.15.1, contains a SQL injection flaw in its sequelize.json() helper, which fails to properly escape values when building sub-paths for JSON queries on MySQL, MariaDB and SQLite. An attacker able to influence the values passed into these JSON query sub-paths could inject arbitrary SQL.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:01Z"},"euvd":{"id":"EUVD-2019-0706","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-sequelize-node-module-cve-2016-10556","parents":[{"from":"CVE-2016-10550","to":"CVE-2019-10752","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/dialects/abstract/query-generator.js","lib/dialects/sqlite/query-generator.js"],"commits":["https://github.com/sequelize/sequelize/commit/f282d85e60e3df5e57ecdb82adccb4eaef404f03","https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e","https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2019-10752","to":"CVE-2019-10748","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/dialects/abstract/query-generator.js"],"commits":["https://github.com/sequelize/sequelize/commit/a72a3f50bad7772ce96fc62d80f64b109fb2893f","https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e","https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e"],"basis":"shared function","functions":["QueryGenerator"]},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same package + description similarity"}]}]}}