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

Added sanitization to report_path_filename and enhanced authentication cookie #985

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

winters0x64
Copy link
Contributor

Proposed change

Set the authentication cookie's SameSite attribute to Lax by default to mitigate CSRF attacks, particularly during the grace period of Chrome's automatic Lax implementation.

Added input sanitization for the report_path_filename parameter in the /new/scan endpoint to prevent attempts to overwrite system files.

Type of change

  • New core framework functionality
  • Bugfix (non-breaking change which fixes an issue)
  • Code refactoring without any functionality changes
  • New or existing module/payload change
  • Localization improvement
  • Dependency upgrade
  • Documentation improvement

Checklist

  • I've followed the contributing guidelines
  • I've run make pre-commit, it didn't generate any changes
  • I've run make test, all tests passed locally

@securestep9 securestep9 added this pull request to the merge queue Dec 28, 2024
Merged via the queue into OWASP:master with commit 1463af8 Dec 28, 2024
17 checks passed
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