Skip to content
Sharp

OWASP Vulnerabilities · interview question

What role does the 'Signature' play in a JWT?

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

Correct answer

D. It ensures the token has not been tampered with

Why

The signature in a JWT is used to verify the source of the token and ensure its integrity. It confirms that the token has not been altered by anyone after it was issued.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →