{"id":"GHSA-58v4-qwx5-7f59","summary":"SQL Injection in knex","details":"knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.","aliases":["CVE-2019-10757","SNYK-JS-KNEX-471962"],"modified":"2026-09-10T03:48:26.577716752Z","published":"2019-10-21T16:12:13Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2019-10-17T17:36:46Z","nvd_published_at":"2019-10-08T20:15:00Z","cwe_ids":["CWE-89"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10757"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-KNEX-471962"}],"affected":[{"package":{"name":"knex","ecosystem":"npm","purl":"pkg:npm/knex"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.19.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-58v4-qwx5-7f59/GHSA-58v4-qwx5-7f59.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}