10.0
CRITICAL
CVE-2023-25813
Sequelize SQL Injection via Unescaped Replacements
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.

INFO

Published Date :

Feb. 22, 2023, 7:15 p.m.

Last Modified :

March 3, 2023, 2:04 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-25813 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-25813 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sequelizejs sequelize
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-25813.

URL Resource
https://github.com/sequelize/sequelize/commit/ccaa3996047fe00048d5993ab2dd43ebadd4f78b Patch
https://github.com/sequelize/sequelize/issues/14519 Exploit Issue Tracking
https://github.com/sequelize/sequelize/releases/tag/v6.19.1 Release Notes
https://github.com/sequelize/sequelize/security/advisories/GHSA-wrh9-cjv3-2hpw Exploit Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript CSS HTML

Updated: 5 days, 18 hours ago
0 stars 0 fork 0 watcher
Born at : Nov. 9, 2024, 8:59 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript HTML

Updated: 6 days, 8 hours ago
0 stars 0 fork 0 watcher
Born at : Nov. 9, 2024, 12:57 p.m. This repo has been linked 1 different CVEs too.

CVE-2023-25813 Vulnerability Reproduction - SQL Injection in Sequelize

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : Nov. 7, 2024, 2:21 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript CSS EJS Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : Nov. 6, 2024, 4:28 a.m. This repo has been linked 1 different CVEs too.

None

JavaScript CSS EJS

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 4, 2024, 4:47 a.m. This repo has been linked 1 different CVEs too.

12

HTML JavaScript CSS

Updated: 3 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : July 30, 2024, 2:36 p.m. This repo has been linked 1 different CVEs too.

None

HTML JavaScript CSS

Updated: 6 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : April 21, 2024, 5:39 p.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 months, 1 week ago
6375 stars 1107 fork 1107 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 904 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-25813 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-25813 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Mar. 03, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/sequelize/sequelize/commit/ccaa3996047fe00048d5993ab2dd43ebadd4f78b No Types Assigned https://github.com/sequelize/sequelize/commit/ccaa3996047fe00048d5993ab2dd43ebadd4f78b Patch
    Changed Reference Type https://github.com/sequelize/sequelize/issues/14519 No Types Assigned https://github.com/sequelize/sequelize/issues/14519 Exploit, Issue Tracking
    Changed Reference Type https://github.com/sequelize/sequelize/releases/tag/v6.19.1 No Types Assigned https://github.com/sequelize/sequelize/releases/tag/v6.19.1 Release Notes
    Changed Reference Type https://github.com/sequelize/sequelize/security/advisories/GHSA-wrh9-cjv3-2hpw No Types Assigned https://github.com/sequelize/sequelize/security/advisories/GHSA-wrh9-cjv3-2hpw Exploit, Vendor Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:* versions up to (excluding) 6.19.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-25813 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.13 }} -0.00%

score

0.48506

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability