Find the line that leaves the model vulnerable to mass assignment of unintended fields.
A Post model is missing protection, and a user was able to set is_featured=true via a crafted form submission.
Ready to try it?
Create a free account and try "Fix a Mass Assignment Vulnerability" free for 7 days, no card required. Earn 120 XP and track your internship progress.
Already have an account? Sign in