Skip to content
Sharp

OWASP Vulnerabilities · interview question

Why does a CSRF token in web application security matter in this design?

Multiple choiceEasychapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Choose one answer
Answer and explanation

Correct answer

D. To ensure requests come from authenticated users

Why

A CSRF token is used to ensure that requests are made by authenticated users, preventing attackers from performing actions on behalf of users without their consent.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →