Skip to content
Sharp

OWASP Vulnerabilities · interview question

Which aspect of the Spring Security Filter Chain is crucial for protecting against CSRF attacks?

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

Correct answer

B. CSRF token validation

Why

CSRF token validation is a crucial part of the Spring Security Filter Chain that protects against CSRF attacks by ensuring that requests are made by authenticated users and not malicious actors.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →