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-2017-16006 Vulnerability in maven package org.webjars.bower:remarkable
CVE-2022-36904 Vulnerability in maven package org.jenkins-ci.plugins:repository-connector
CVE-2018-1000665 Vulnerability in npm package dojo
CVE-2023-45818 Vulnerability in maven package org.webjars.npm:tinymce
CVE-2011-1475 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core