"Here's a PHP script that handles a comment form: [paste code]. Act as a security reviewer. Go through it and flag every place where SQL injection, XSS, or CSRF could be possible, quoting the exact line, before suggesting any fixes. If you don't find an issue in one of those three categories, say so explicitly rather than skipping it."
