CVE-2023-25813: sequelize SQL Injection
Vulnerability summary
CVE-2023-25813 is a critical (CVSS 10.0) SQL Injection vulnerability in sequelize. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 72.8% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 22-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
Description
Sequelize 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 through replacements are not properly escaped which can lead to arbitrary SQL injection depending on the specific queries in use. The issue has been fixed in Sequelize 6.19.1. Users are advised to upgrade. Users unable to upgrade should not use the `replacements` and the `where` option in the same query.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.44%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.44% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundSequelize
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Npm1 product
- sequelize< 6.19.1
Sequelize1 product
- sequelize< 6.19.1
Sequelizejs1 product
- sequelize< 6.19.1
3 vendors · 3 products
References
7 links- github.com/sequelize/sequelize/security/advisories/GHSA-wrh9-cjv3-2hpwX Refsource CONFIRMWEBExploitVendor Advisory
- github.com/sequelize/sequelize/commit/ccaa3996047fe00048d5993ab2dd43ebadd4f78bX Refsource MISCWEBPatch