GHSA-xqg8-cv3h-xppvHigh

SQL Injection in sequelize

Published
October 24, 2017
Last Modified
January 9, 2023

🔗 CVE IDs covered (1)

📋 Description

Versions 2.0.0-rc-7 and earlier of sequelize are affected by a SQL injection vulnerability when user input is passed into the order parameter.

Proof of Concept

Test.findAndCountAll({
where: { id :1 },
order : [['id', 'UNTRUSTED USER INPUT']]
})

Recommendation

Update to version 2.0.0-rc8 or later

🎯 Affected products1

  • npm/sequelize:<= 2.0.0-rc7

🔗 References (6)