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-2021-21141 Vulnerability in npm package electron
CVE-2023-49382 Vulnerability in maven package com.jfinal:jfinal
CVE-2023-35931 Vulnerability in npm package shescape
CVE-2022-43433 Vulnerability in maven package io.jenkins.plugins:screenrecorder
CVE-2020-15999 Vulnerability in maven package org.webjars.npm:electron