ADVISORIES

GitHub Advisory Database

GHSA-2598-2f59-rmhq

SQL Injection in sequelize

Details

Versions of sequelize prior to 3.35.1 are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the Postgres dialect, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.

Recommendation

Upgrade to version 3.35.1 or later.

Affected packages

EcosystemPackageAffected versions
npmsequelize
All versions before 3.35.1 (fixed in 3.35.1)

References