Security Playbook
← All code reviews
Find the bug · 03/10Easy

Download your invoice

Only logged-in customers can call this endpoint.

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