Skip to content

this is a test#3

Open
skoussa wants to merge 1 commit intomasterfrom
fixsql4
Open

this is a test#3
skoussa wants to merge 1 commit intomasterfrom
fixsql4

Conversation

@skoussa
Copy link
Copy Markdown
Owner

@skoussa skoussa commented Nov 8, 2019

No description provided.

@reshift-security
Copy link
Copy Markdown

reshift is scanning for issues for this Pull-Request...

}
ResultSet rs=null;
Statement stmt = con.createStatement();
rs=stmt.executeQuery("select * from users where username='"+user+"' and password='"+pass+"'");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential SQL Injection (JDBC) - CRITICAL

The input values included in SQL queries need to be passed in safely. Bind variables in prepared statements can be used to easily mitigate the risk of SQL injection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant