Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. knex
  4. ›
  5. CVE-2016-20018

CVE-2016-20018: Knex.js has a limited SQL injection vulnerability

December 19, 2022 (updated December 20, 2022)

Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query.

References

  • github.com/advisories/GHSA-4jv9-3563-23j3
  • github.com/knex/knex/issues/1227
  • nvd.nist.gov/vuln/detail/CVE-2016-20018
  • www.ghostccamm.com/blog/knex_sqli/

Code Behaviors & Features

Detect and mitigate CVE-2016-20018 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.3.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

npm/knex/CVE-2016-20018.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.