Improper Filtering of Special Elements in Sequelize - CVE-2023-22578

 

Improper Filtering of Special Elements in Sequelize - CVE-2023-22578

Published: February 24, 2023 / Updated: April 27, 2026


Vulnerability identifier: #VU128015
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2023-22578
CWE-ID: CWE-790
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Sequelize
Software vendor:
npm Inc.

Description

The vulnerability allows a remote attacker to execute arbitrary SQL.

The vulnerability exists due to improper filtering of special elements in the attributes option when processing attribute names containing parentheses. A remote attacker can supply a specially crafted attribute value to execute arbitrary SQL.

The issue occurs because attribute strings containing parentheses are used as-is in generated SQL by default.


Remediation

Install security update from vendor's website.

External links