String Concatenation in Spring Controllers/Services
Public method parameters are directly concatenated into raw SQL statements in Spring components.
SQL injection vulnerability where a public method String parameter is concatenated into a raw SQL statement instead of using parameterized queries, potentially allowing attackers to read or alter data, escalate privileges, or run arbitrary database operations.
Configuration changes required - see explanation below.
Configuration changes required - see explanation below.
Public method parameters are directly concatenated into raw SQL statements in Spring components.
Sourcery automatically identifies sql injection from public method string in raw sql in spring and many other security issues in your codebase.