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://github.com/balderdashy/waterline/issues/1219#issuecomment-157294530
https://nodesecurity.io/advisories/115
Related Vulnerabilities
CVE-2021-30246 Vulnerability in maven package org.webjars.npm:jsrsasign
CVE-2023-22465 Vulnerability in maven package org.http4s:http4s-core_2.13
CVE-2023-41034 Vulnerability in maven package org.eclipse.leshan:leshan-core
CVE-2020-28246 Vulnerability in npm package formio
CVE-2021-27515 Vulnerability in maven package org.webjars.bowergithub.unshiftio:url-parse