Skip to content
Sharp

OWASP Vulnerabilities · interview question

Why does the 'signature' in a JWT matter in this design?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiescross-site-scripting-xss
Choose one answer
Answer and explanation

Correct answer

D. To verify the sender of the JWT

Why

The signature in a JWT is used to verify that the sender of the JWT is who it says it is and to ensure that the message wasn't changed along the way.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →