Function Argument String Interpolation
Function parameters are directly interpolated or concatenated into SQL query strings.
SQL injection vulnerability where a function argument is embedded into SQL for mysql/mysql2 without parameters, potentially allowing attackers to read or modify database records, escalate privileges, or execute administrative operations through attacker-controlled content that alters the query structure.
Configuration changes required - see explanation below.
Configuration changes required - see explanation below.
Function parameters are directly interpolated or concatenated into SQL query strings.
Sourcery automatically identifies sql injection from function argument in mysql/mysql2 query in node.js and many other security issues in your codebase.