Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/vulns-outside-30_08_24_18_43 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ferreiratiago
Copy link

No description provided.

Copy link

snyk-io-dev bot commented Aug 30, 2024

Snyk has found 1 issues.

Icon Severity Issues
Critical 0
High 1
Medium 0
Low 0

security/snyk check is completed. No issues were found. (View Details)

code/snyk check is completed. Snyk found 1 issues. (View Details)

Copy link

@snyk-io-dev snyk-io-dev bot left a comment

Choose a reason for hiding this comment

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

⚠️ Snyk found 1 issue in the modified code

  •   SQL Injection
    • Path: sql_injection.js#L11

}

function doQuery(query, args) {
db.query(query, args, (err, result) => {
Copy link

Choose a reason for hiding this comment

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

  SQL Injection

Unsanitized input from the HTTP request body flows into query, where it is used in an SQL query. This may result in an SQL Injection vulnerability.

CWE-89 | Priority score 754 | Line 11

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