Improper Filtering of Special Elements in Sequelize - CVE-2023-22578
Published: February 24, 2023 / Updated: April 27, 2026
Sequelize
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.