Skip to content

CVE-2023-25813 SQL Injection via replacements in sequelize

CriticalCVSS 9.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm sequelize(npm) < 6.19.1 6.19.1 Fixed
sequelizejs sequelize < 6.19.1 6.19.1 Fixed
sequelize = < 6.19.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm sequelize(npm) < 6.19.1 6.19.1
sequelize = < 6.19.1 No fix listed
sequelizejs sequelize < 6.19.1 6.19.1

References