patchminder
Proof of concept · GitHub CVE-2023-25813

SQL injectionin sequelize.

Published 22 Feb 2023 · Updated 10 Mar 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 6.19.1 or later
In plain words

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.

What to do now
  • Upgrade sequelize to 6.19.1 or later.
  • Upgrade sequelize (npm) to 6.19.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
sequelize
before 6.19.1
6.19.1
CVE record
sequelize (npm)
before 6.19.1
6.19.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Feb 2023
    CVE ID reserved by GitHub_M.
  2. 22 Feb 2023
    Published in the CVE List.
  3. 21 Apr 2024
    First public proof of concept on GitHub.
  4. 10 Mar 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
7 repositories
GitHubno warning signs foundWhite-BAO/CVE-2023-258131 stars · created 30 Jul 202412
GitHubno warning signs foundbde574786/Sequelize-1day-CVE-2023-258130 stars · created 21 Apr 2024
GitHubno warning signs foundpbj2647/CVE-2023-258130 stars · created 6 Nov 2024
GitHubno warning signs foundnumbbvi/CVE-2023-258130 stars · created 7 Nov 2024CVE-2023-25813 Vulnerability Reproduction · SQL Injection in Sequelize
GitHubno warning signs foundsea-middle/cve-2023-258130 stars · created 9 Nov 2024
GitHubno warning signs foundh-gunp/CVE-2023-25813-TEST0 stars · created 23 Aug 2025Sequelize Sql Injection 취약점 구현
GitHubno warning signs foundjunhye-park/homework-sequelize-cve-2023-258130 stars · created 14 Nov 2026

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.

Related

Other sequelize vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-25813: SQL injection in sequelize. https://patchminder.com/cve/cve-2023-25813/ (accessed 5 December 2026).