7.5

CVE-2016-10556: hackerone sequelize node module SQL Injection

CVSS: 7.5v3.0HighModified
AliasesGHSA-9c2p-jw8p-f84v
Published 29-05-2018Last modified 17-09-2024

Vulnerability summary

CVE-2016-10556 is a high (CVSS 7.5) SQL Injection vulnerability in hackerone sequelize node module. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
1.32%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 29-05-2018
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.32%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

-0.02 pp

From 1.34% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Sequelize

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Hackerone1 product
Npm1 product
  • sequelize< 3.20.0
Sequelizejs1 product

3 vendors · 3 products

References

5 links