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.
Test.findAndCountAll({
where: { id :1 },
order : [['id', 'UNTRUSTED USER INPUT']]
})
Update to version 2.0.0-rc8 or later
{
"nvd_published_at": null,
"severity": "HIGH",
"cwe_ids": [
"CWE-89"
],
"github_reviewed_at": "2020-06-16T22:04:08Z",
"github_reviewed": true
}