All reports
High

Knex.js has a limited SQL injection vulnerability

Affected versions

Affected versions
< 2.4.0
Fixed version
2.4.0

Exploitation

CVE-2016-20018

Probability of exploitation in the next 30 days: 1.12%

FIRST EPSS · 2026-11-23

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. This vulnerability has been fixed in version 2.4.0.

Links

Credits

  • alokmenghrajani
  • pmartinat
  • tdunlap607