Skip to content
Sharp

OWASP Vulnerabilities · interview question

Which of the following best describes how CSRF protection is typically implemented in a Spring Boot application?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiescross-site-request-forgery-csrf
Choose one answer
Answer and explanation

Correct answer

D. Through the Spring Security Filter Chain

Why

CSRF protection in Spring Boot is typically implemented through the Spring Security Filter Chain, which automatically manages token generation and validation.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →