Description
waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.
Remediation
References
https://nodesecurity.io/advisories/115
https://github.com/balderdashy/waterline/issues/1219#issuecomment-157294530
Related Vulnerabilities
CVE-2016-6793 Vulnerability in maven package org.apache.wicket:wicket-util
CVE-2020-28280 Vulnerability in npm package predefine
CVE-2022-23622 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2022-3509 Vulnerability in maven package com.google.protobuf:protobuf-javalite