← Vulnerability feed

Vulnerability record · CVE-2016-10556 · published 29 May 2018

CVE-2016-10556: Sequelizejs sequelize sql injection vulnerability

Sequelizejs · Sequelize

sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS In Postgres, SQLite, and Microsoft SQL Server there is an issue where arrays are treated as strings and improperly escaped. This causes potential SQL injection in sequelize 3.19.3 and earlier, where a malicious user could put `["test", "'); DELETE TestTable WHERE Id = 1 --')"]` inside of ``` database.query('SELECT * FROM TestTable WHERE Name IN (:names)', { replacements: { names: directCopyOfUserInput } }); ``` and cause the SQL statement to become `SELECT Id FROM Table WHERE Name IN ('test', '\'); DELETE TestTable WHERE Id = 1 --')`. In Postgres, MSSQL, and SQLite, the backslash has no special meaning. This causes the the statement to delete whichever Id has a value of 1 in the TestTable table.

7.5 CVSS 3.0 High EPSS 1.3% · top 29.8% CWE-89 · SQL injection
7.5CVSS 3.0 base score, v2 5.0
1.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS In Postgres, SQLite, and Microsoft SQL Server there is an issue where arrays are treated as strings and improperly escaped. This causes potential SQL injection in sequelize 3.19.3 and earlier, where a malicious user could put `["test", "'); DELETE TestTable WHERE Id = 1 --')"]` inside of ``` database.query('SELECT * FROM TestTable WHERE Name IN (:names)', { replacements: { names: directCopyOfUserInput } }); ``` and cause the SQL statement to become `SELECT Id FROM Table WHERE Name IN ('test', '\'); DELETE TestTable WHERE Id = 1 --')`. In Postgres, MSSQL, and SQLite, the backslash has no special meaning. This causes the the statement to delete whichever Id has a value of 1 in the TestTable table.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/sequelize/sequelize/issues/5671 ExploitIssue TrackingThird Party Advisory
https://nodesecurity.io/advisories/102 Third Party Advisory
https://github.com/sequelize/sequelize/issues/5671 ExploitIssue TrackingThird Party Advisory
https://nodesecurity.io/advisories/102 Third Party Advisory

Track CVE-2016-10556 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-25813Sequelizejs sequelize sql injection vulnerabilitySequelize is a Node.js ORM tool. In versions prior to 6.19.1 a SQL injection exploit exists related to replacements. Parameters which are passed thro…EPSS 1.4%9.8CVE-2023-22578Sequelizejs sequelize vulnerabilityDue to improper artibute filtering in the sequalize js library, can a attacker peform SQL injections.EPSS 0.83%9.8CVE-2019-10748Sequelizejs sequelize sql injection vulnerabilitySequelize all versions prior to 3.35.1, 4.44.3, and 5.8.11 are vulnerable to SQL Injection due to JSON path keys not being properly escaped for the M…EPSS 1.3%9.8CVE-2019-10749Sequelizejs sequelize sql injection vulnerabilitysequelize before version 3.35.1 allows attackers to perform a SQL Injection due to the JSON path keys not being properly sanitized in the Postgres di…EPSS 1.2%9.8CVE-2019-10752Sequelizejs sequelize sql injection vulnerabilitySequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json() helper function not escaping value…EPSS 1.5%9.8CVE-2016-10554Sequelizejs sequelize sql injection vulnerabilitysequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usabl…EPSS 1.9%9.8CVE-2016-10550Sequelizejs sequelize sql injection vulnerabilitysequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usabl…EPSS 1.9%9.8CVE-2016-10553Sequelizejs sequelize sql injection vulnerabilitysequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usabl…EPSS 1.3%

Source: NIST National Vulnerability Database (record CVE-2016-10556), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.