Security Playbook
← All code reviews
Find the bug · 09/10Medium

Edit your profile

The form only has name and avatar fields. The user can only update their own row.

app/api/me/route.ts01 · Tap the vulnerable line
02 · What's the problem?
03 · How do you fix it?