CVE-2016-20018

HIGH

knexjs/knex < 2.3.0 - SQL Injection via WHERE Clause Bypass

Title source: llm
STIX 2.1

Description

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 (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory
https://github.com/knex/knex/issues/1227
Exploit, Third Party Advisory
https://www.ghostccamm.com/blog/knex_sqli/

Scores

CVSS v3 7.5
EPSS 0.0105
EPSS Percentile 60.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-89
Status published
Products (2)
knexjs/knex < 2.3.0
npm/knex 0 - 2.4.0npm
Published Dec 19, 2022
Tracked Since Feb 18, 2026