Skip to content

Update SQLInjectionExample.java#88

Open
antonychiu2 wants to merge 2 commits intoCheckmarx-CLIfrom
antonychiu2-patch-28
Open

Update SQLInjectionExample.java#88
antonychiu2 wants to merge 2 commits intoCheckmarx-CLIfrom
antonychiu2-patch-28

Conversation

@antonychiu2
Copy link
Owner

No description provided.

@github-actions
Copy link

image 1 fix is ready to be committed

SQL Injection - 1


String query = "SELECT * FROM users WHERE user name = '" + request.getParameter("username") + "';";
Statement stmt = con.createStatement();
String query = "SELECT * FROM users WHERE user name = '" + request.getParameter("username") + "';";
Copy link

@github-actions github-actions bot Jul 18, 2024

Choose a reason for hiding this comment

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

image SQL Injection fix has been committed ✅

Learn more and fine tune the fix

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