{"id":"CVE-2016-10551","aliases":["EUVD-2019-0274","GHSA-cgpp-wm2h-6hqx"],"status":"published","title":"SQL Injection in waterline-sequel","description":"waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.","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.01763,"percentile":0.78187,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2018-05-29T20:00:00Z","modified":"2026-06-17T00:39:55Z","fixes":[{"ecosystem":"npm","package":"waterline-sequel","fixed_in":["0.5.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"waterline-sequel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.1"}]}]},{"source":"osv","ecosystem":"npm","package":"waterline-sequel","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.1"}]}]}],"products":[{"vendor":"balderdash","product":"waterline-sequel"},{"vendor":"hackerone","product":"waterline-sequel node module"}],"references":[{"url":"https://github.com/balderdashy/waterline/issues/1219#issuecomment-157294530","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nodesecurity.io/advisories/115","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10551","tags":["advisory"]},{"url":"https://github.com/balderdashy/waterline-sequel/pull/66","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cgpp-wm2h-6hqx","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/115","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10551","description":"waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-16T16:58:50.345Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0274","description":"waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-16T16:58:50Z","updated_at":"2026-11-03T00:55:46.200652Z"}],"ghsa":[{"id":"GHSA-cgpp-wm2h-6hqx","title":"SQL Injection in waterline-sequel","description":"Affected versions of `waterline-sequel` are vulnerable to SQL injection in cases where user input is passed into the `like`, `contains`, `startsWith`, or `endsWith` methods.\n\n\n\n## Recommendation\n\nUpgrade to at least version 0.5.1","status":"published","published":"2019-02-18T23:54:28Z","modified":"2023-01-09T05:03:01Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2016-10551","description":"waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.","status":"published","published":"2018-05-29T20:29:00.69Z","modified":"2026-06-17T00:39:55.313Z","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.176887Z"}],"osv":[{"id":"GHSA-cgpp-wm2h-6hqx","title":"SQL Injection in waterline-sequel","description":"Affected versions of `waterline-sequel` are vulnerable to SQL injection in cases where user input is passed into the `like`, `contains`, `startsWith`, or `endsWith` methods.\n\n\n\n## Recommendation\n\nUpgrade to at least version 0.5.1","status":"published","published":"2019-02-18T23:54:28Z","modified":"2023-11-08T03:58:12.071563Z","cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
