Description
Sequelize, all versions prior to version 4.44.3 and 5.15.1, is vulnerable to SQL Injection due to sequelize.json() helper function not escaping values properly when formatting sub paths for JSON queries for MySQL, MariaDB and SQLite.
Remediation
References
https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751
https://github.com/sequelize/sequelize/commit/9bd0bc1%2C
https://github.com/sequelize/sequelize/commit/9bd0bc111b6f502223edf7e902680f7cc2ed541e
https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751%2C
Related Vulnerabilities
CVE-2020-27664 Vulnerability in npm package strapi
CVE-2020-26256 Vulnerability in maven package org.webjars.npm:fast-csv
CVE-2020-26256 Vulnerability in npm package fast-csv
CVE-2018-1002201 Vulnerability in maven package org.zeroturnaround:zt-zip
CVE-2023-40810 Vulnerability in maven package org.opencrx:opencrx-core-models