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

Backend : Upvote and Downvote for Answers Fixed #1110

Merged
merged 5 commits into from
Aug 6, 2024

Upvote/downvote fixed in backend

33e621f
Select commit
Loading
Failed to load commit list.
Merged

Backend : Upvote and Downvote for Answers Fixed #1110

Upvote/downvote fixed in backend
33e621f
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Aug 6, 2024 in 5s

2 new alerts including 2 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 2 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 19 in backend/app.js

See this annotation in the file changed.

Code scanning / CodeQL

Missing CSRF middleware High

This cookie middleware is serving a
request handler
without CSRF protection.
This cookie middleware is serving a
request handler
without CSRF protection.
This cookie middleware is serving a
request handler
without CSRF protection.
This cookie middleware is serving a
request handler
without CSRF protection.

Check failure on line 9 in backend/app/routes/Q&A/answers/downvoteAnswer.js

See this annotation in the file changed.

Code scanning / CodeQL

Database query built from user-controlled sources High

This query object depends on a
user-provided value
.