ADVISORIES

GitHub Advisory Database

GHSA-2777-2vq8-c4v4

SQL Injection in sequelize

Details

Versions of sequelize prior to 5.3.0 (excluding v3 and v4) are vulnerable to SQL Injection. PostgreSQL optionstandard_conforming_strings is not set to on by default, which may allow attackers to inject SQL statements due to poor handling of backslashes in string literals.

Recommendation

Upgrade to version 5.3.0 or later.

Affected packages

EcosystemPackageAffected versions
npmsequelize
From 5.0.0 before 5.3.0 (fixed in 5.3.0)

References