{"id":"CVE-2016-10554","aliases":["EUVD-2019-0359","GHSA-x2jc-pwfj-h9p3"],"status":"published","title":"SQL Injection in sequelize","description":"sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01884,"percentile":0.79633,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2018-05-31T20:00:00Z","modified":"2026-10-20T10:47:13Z","fixes":[{"ecosystem":"npm","package":"sequelize","fixed_in":["1.7.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sequelize","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.7.0-alpha2"},{"fixed":"1.7.0"}]}]},{"source":"osv","ecosystem":"npm","package":"sequelize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.0"}]}]}],"products":[{"vendor":"hackerone","product":"sequelize node module"},{"vendor":"sequelizejs","product":"sequelize"}],"references":[{"url":"https://github.com/sequelize/sequelize/commit/c876192aa6ce1f67e22b26a4d175b8478615f42d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nodesecurity.io/advisories/113","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10554","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x2jc-pwfj-h9p3","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/113","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10554","description":"sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.","status":"published","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T01:55:55.539Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0359","description":"sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.","status":"published","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T01:55:55Z","updated_at":"2026-11-03T00:28:45.29969Z"}],"ghsa":[{"id":"GHSA-x2jc-pwfj-h9p3","title":"SQL Injection in sequelize","description":"Affected versions of `sequelize` use MySQL's backslash-based escape syntax when connecting to SQLite, despite the fact that SQLite uses PostgreSQL's escape syntax, which can result in a SQL Injection vulnerability.\n\n\n## Recommendation\n\nUpdate to version 1.7.0-alpha3 or later.","status":"published","published":"2019-02-18T23:54:28Z","modified":"2023-01-09T05:03:28Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:05.071174Z"}],"nvd":[{"id":"CVE-2016-10554","description":"sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.","status":"published","published":"2018-05-31T20:29:02.017Z","modified":"2026-06-17T00:39:55.623Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:03:39.621168Z"}],"osv":[{"id":"CVE-2016-10554","description":"sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.","status":"published","published":"2018-05-31T20:29:02.017Z","modified":"2026-10-20T10:47:13.250149068Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"GHSA-x2jc-pwfj-h9p3","title":"SQL Injection in sequelize","description":"Affected versions of `sequelize` use MySQL's backslash-based escape syntax when connecting to SQLite, despite the fact that SQLite uses PostgreSQL's escape syntax, which can result in a SQL Injection vulnerability.\n\n\n## Recommendation\n\nUpdate to version 1.7.0-alpha3 or later.","status":"published","published":"2019-02-18T23:54:28Z","modified":"2023-11-08T03:58:12.264608Z","cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:59.484835Z"}]}}
