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
CVSS v4: 9.3 [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]
CVE-ID: CVE-2023-22578
CWE-ID: CWE-790
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Sequelize

How to mitigate CVE-2023-22578

Install security update from vendor's website.

Sequelize - update to 6.29.0

External References

Related Security Bulletins