Skip to content
Sharp

OWASP Vulnerabilities · interview question

How would you explain a potential risk of improperly validated JSON Web Tokens (JWT) in an interview?

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

Correct answer

B. Attackers can impersonate users.

Why

If a JWT is not properly validated, an attacker could forge a token, allowing them to impersonate a legitimate user, potentially gaining unauthorized access.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →