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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sequelize | sequelize | < 6.19.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 6 repositories
-
White-BAO/CVE-2023-25813 ★ 1 · Jul 30, 2024
12
-
h-gunp/CVE-2023-25813-TEST ★ 0 · Aug 23, 2025
Sequelize Sql Injection 취약점 구현
-
sea-middle/cve-2023-25813 ★ 0 · Nov 9, 2024
-
numbbvi/CVE-2023-25813 ★ 0 · Nov 7, 2024
CVE-2023-25813 Vulnerability Reproduction - SQL Injection in Sequelize
-
pbj2647/CVE-2023-25813 ★ 0 · Nov 6, 2024
-
bde574786/Sequelize-1day-CVE-2023-25813 ★ 0 · Apr 21, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | sequelize | < 6.19.1 | 6.19.1 | GHSA-wrh9-cjv3-2hpw |