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

Add CSRF token implementation for student app status update #163

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

betsyecastro
Copy link
Contributor

To address CSRF vulnerability #2641316 – Low – [profiles.utdallas.edu] CSRF at "/students/[VictimUsername]/status?status=drafted" in the HackerOne report.

Replaces the <a> tag in the student form to update the student application status for a <form> element that contains the CSRF token used by the VerifyCsrfToken middleware. Manual testing confirms that requests with an invalid or missing CSRF token return a 419 HTTP response.

@betsyecastro betsyecastro added 🐛 bug Something isn't working 🔒 security Security-related labels Aug 23, 2024
@betsyecastro betsyecastro requested a review from wunc August 23, 2024 19:19
@betsyecastro betsyecastro self-assigned this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🔒 security Security-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant