Description
sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS If user input goes into the `limit` or `order` parameters, a malicious user can put in their own SQL statements. This affects sequelize 3.16.0 and earlier.
Remediation
References
https://github.com/sequelize/sequelize/pull/5167/commits/f282d85e60e3df5e57ecdb82adccb4eaef404f03
https://nodesecurity.io/advisories/112
Related Vulnerabilities
CVE-2020-7793 Vulnerability in maven package org.webjars.bowergithub.faisalman:ua-parser-js
CVE-2016-10707 Vulnerability in npm package jquery
CVE-2021-43859 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2018-3728 Vulnerability in maven package org.webjars.npm:hoek
CVE-2023-26474 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore