← All tasks
🔍
Programming Intermediate

Fix a Mass Assignment Vulnerability

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line that leaves the model vulnerable to mass assignment of unintended fields.

Scenario

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