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

Intentional vulnerable #32

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Testing vulnerable code

059f775
Select commit
Loading
Failed to load commit list.
Open

Intentional vulnerable #32

Testing vulnerable code
059f775
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Aug 30, 2024 in 5s

4 new alerts including 3 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 3 high
  • 1 medium

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 39 in src/vulnerable-code/index.js

See this annotation in the file changed.

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a database access
, but is not rate-limited.

Check warning on line 25 in src/vulnerable-code/index.js

See this annotation in the file changed.

Code scanning / CodeQL

Sensitive data read from GET request Medium

Route handler
for GET requests uses query parameter as sensitive data.

Check failure on line 30 in src/vulnerable-code/index.js

See this annotation in the file changed.

Code scanning / CodeQL

Database query built from user-controlled sources High

This query string depends on a
user-provided value
.
This query string depends on a
user-provided value
.

Check failure on line 51 in src/vulnerable-code/index.js

See this annotation in the file changed.

Code scanning / CodeQL

Reflected cross-site scripting High

Cross-site scripting vulnerability due to a
user-provided value
.