You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: POST /api/users accepts arbitrary body without input validation #12547
The postUser function in userController.js passes req.body directly to createUser() without any input validation. An attacker could send any arbitrary JSON payload.
Bounty: $40
Fix: Add Zod schema validation to userController.js.
Activity
fix: add user validation (fixes SecureBananaLabs#12547)