hughcdemocorp-mend / WebGoat3

Other
0 stars 0 forks source link

Update code to remediate SQL Injection #40

Closed mend-for-github-com[bot] closed 1 month ago

mend-for-github-com[bot] commented 1 month ago

Mend Code detected a SQL Injection in your code. By merging this PR you will fix it.

PR Explanation: Remediates SQL Injection vulnerability by using PreparedStatement instead of Statement in 'injectableQuery' method.