Advisory

GHSA-j9xp-92vc-559j

Also known as: CVE-2019-10748, SNYK-JS-SEQUELIZE-450221

Summary

SQL Injection in sequelize

Details

Affected versions of sequelize are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.

Recommendation

If you are using sequelize 5.x, upgrade to version 5.8.11 or later.
If you are using sequelize 4.x, upgrade to version 4.44.3 or later.
If you are using sequelize 3.x, upgrade to version 3.35.1 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-11-06 17:11 UTC
Modified
2026-07-08 05:56 UTC

Affected packages and fixes

sequelize

npm · All systems

Affected

  • introduced 0, fixed 3.35.1 (semver)

Fixed versions

3.35.1

Fix

sequelize

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.44.3 (semver)

Fixed versions

4.44.3

Fix

sequelize

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.8.11 (semver)

Fixed versions

5.8.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences