Skip to content

Security: restrict setup form to explicit fields#573

Open
nicdavidson wants to merge 13 commits intodevelopfrom
2026-04-security-scan
Open

Security: restrict setup form to explicit fields#573
nicdavidson wants to merge 13 commits intodevelopfrom
2026-04-security-scan

Conversation

@nicdavidson
Copy link
Copy Markdown
Contributor

Summary

  • Replace request->all() with request->only() in SplashController POST handler
  • Prevents mass assignment of unexpected fields during first admin setup
  • Only allows: email, name, first_name, last_name, username, phone, password, password_confirmation

Test plan

  • Setup flow only accepts expected fields
  • createFirstAdmin still receives all required data

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.

3 participants