Skip to content

CVE-2019-10757 SQL Injection in knex

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
npm knex(npm) < 0.19.5 0.19.5
knexjs knex < 0.19.5 0.19.5

References