CVE-2023-25813 CRITICAL

CVE-2023-25813: SQL Injection via replacements in sequelize

Vendor Sequelize
Product sequelize
Weakness CWE-89 · SQLi
Published February 22, 2023
Last update March 10, 2025

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 22, 2023 CVE published
March 10, 2025 Record updated