{"id":"GHSA-hx5x-49mm-vmhw","aliases":["GHSA-hx5x-49mm-vmhw"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in sails-mysql","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T02:36:43.000Z","modified":"2021-09-27T22:39:39.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.8"}],"ecosystem":"npm","package":"sails-mysql","purl":"pkg:npm/sails-mysql","source":"ghsa"}],"references":[{"url":"https://github.com/balderdashy/sails/issues/6679","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/balderdashy/sails","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-SAILSMYSQL-174916","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/950","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hx5x-49mm-vmhw","url":"https://github.com/advisories/GHSA-hx5x-49mm-vmhw","licence":"CC-BY-4.0","modified":"2021-09-27T22:39:39.000Z"}],"updatedAt":"2026-11-25T22:56:45.679Z"}