{"id":"GHSA-9mr8-6prp-gwjv","summary":"SQL Injection in query-mysql","details":"All versions of `query-mysql` are vulnerable to SQL injection due to lack of user input sanitization allows to run arbitrary SQL queries when fetching data from database.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module if user input is passed into this module.","aliases":["CVE-2018-3754"],"modified":"2023-11-08T04:00:19.085815Z","published":"2018-09-10T15:20:30Z","database_specific":{"github_reviewed_at":"2020-06-16T21:28:59Z","nvd_published_at":null,"cwe_ids":["CWE-89"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3754"},{"type":"WEB","url":"https://hackerone.com/reports/311244"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9mr8-6prp-gwjv"},{"type":"WEB","url":"https://www.npmjs.com/advisories/666"}],"affected":[{"package":{"name":"query-mysql","ecosystem":"npm","purl":"pkg:npm/query-mysql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-9mr8-6prp-gwjv/GHSA-9mr8-6prp-gwjv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}