Property
Languageruby
Severitylow
CWECWE-345: Insufficient Verification of Data Authenticity
OWASPA08:2021 - Software and Data Integrity Failures
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

The code decodes JWT tokens without verifying their signature, which means it accepts tokens without checking if they are genuine. This allows untrusted or tampered tokens to be used in your application.

Impact#

If exploited, attackers could forge JWT tokens with any claims they want (such as elevated privileges or fake user identities), leading to unauthorized access, privilege escalation, or data breaches. This can compromise user accounts and the overall security of the application.