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/9bd0bc111b6f502223edf7e902680f7cc2ed541e
https://github.com/sequelize/sequelize/commit/9bd0bc1%2C
https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751%2C
Related Vulnerabilities
CVE-2022-25857 Vulnerability in maven package org.yaml:snakeyaml
CVE-2021-29442 Vulnerability in maven package com.alibaba.nacos:nacos-common
CVE-2013-6357 Vulnerability in maven package tomcat:catalina
CVE-2020-7686 Vulnerability in npm package rollup-plugin-dev-server
CVE-2021-20220 Vulnerability in maven package io.undertow:undertow-core