{"id":"GHSA-hx5x-49mm-vmhw","aliases":[],"status":"published","title":"SQL Injection in sails-mysql","description":"Versions of `sails-mysql` prior to 0.10.8 are vulnerable to SQL Injection. The `sort` keyword is not properly sanitized and may allow attackers to inject SQL statements and execute arbitrary SQL queries\n\n\n## Recommendation\n\nUpgrade to version 0.10.8 or later.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2020-09-03T02:36:43Z","modified":"2023-01-09T05:03:56Z","fixes":[{"ecosystem":"npm","package":"sails-mysql","fixed_in":["0.10.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sails-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.8"}]}]},{"source":"osv","ecosystem":"npm","package":"sails-mysql","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.8"}]}]}],"references":[{"url":"https://github.com/balderdashy/sails/issues/6679","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-SAILSMYSQL-174916","tags":["web"]},{"url":"https://www.npmjs.com/advisories/950","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hx5x-49mm-vmhw"},{"url":"https://github.com/balderdashy/sails","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-hx5x-49mm-vmhw","title":"SQL Injection in sails-mysql","description":"Versions of `sails-mysql` prior to 0.10.8 are vulnerable to SQL Injection. The `sort` keyword is not properly sanitized and may allow attackers to inject SQL statements and execute arbitrary SQL queries\n\n\n## Recommendation\n\nUpgrade to version 0.10.8 or later.","status":"published","published":"2020-09-03T02:36:43Z","modified":"2023-01-09T05:03:56Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-hx5x-49mm-vmhw","title":"SQL Injection in sails-mysql","description":"Versions of `sails-mysql` prior to 0.10.8 are vulnerable to SQL Injection. The `sort` keyword is not properly sanitized and may allow attackers to inject SQL statements and execute arbitrary SQL queries\n\n\n## Recommendation\n\nUpgrade to version 0.10.8 or later.","status":"published","published":"2020-09-03T02:36:43Z","modified":"2021-09-27T22:39:39Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:49.621585Z"}]}}
