Skip to content

CodeQL#38

Open
Kirill89 wants to merge 3 commits intomainfrom
CodeQL
Open

CodeQL#38
Kirill89 wants to merge 3 commits intomainfrom
CodeQL

Conversation

@Kirill89
Copy link
Collaborator

No description provided.

String query = "SELECT * FROM users WHERE username = '" + userInputA + "';";
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(query);
stmt.executeQuery(query);

Check failure

Code scanning / CodeQL

Query built from user-controlled sources

This query depends on a [user-provided value](1).
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.

2 participants