Skip to content

introduce additional sql injection - #9

Open
auzwang wants to merge 1 commit into
masterfrom
feature-exploit
Open

introduce additional sql injection#9
auzwang wants to merge 1 commit into
masterfrom
feature-exploit

Conversation

@auzwang

@auzwang auzwang commented Aug 22, 2023

Copy link
Copy Markdown
Owner

No description provided.

Comment thread index.js
app.post("/xss", function (req, res) {
sequelize.query(
"SELECT * FROM Products WHERE name LIKE " + req.body.username
"SELECT * FROM Products WHERE name LIKE " + req.body.username + req.body.password

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query string depends on a [user-provided value](1). This query string depends on a [user-provided value](2).
Comment thread index.js
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