SQL injectionin sequelize.
Proof of concept public (GitHub).
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.
- Upgrade sequelize to 6.19.1 or later.
- Upgrade sequelize (npm) to 6.19.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Feb 2023CVE ID reserved by GitHub_M.
- 22 Feb 2023Published in the CVE List.
- 21 Apr 2024First public proof of concept on GitHub.
- 10 Mar 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other sequelize vulnerabilities
Same weakness: SQL injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2023-25813: SQL injection in sequelize. https://patchminder.com/cve/cve-2023-25813/ (accessed 5 December 2026).