Property
Languagejavascript
Severitylow
CWECWE-522: Insufficiently Protected Credentials
OWASPA02:2017 - Broken Authentication
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

Sensitive information from objects is being directly included in JWT token payloads using jsonwebtoken.sign(). This can expose confidential data to anyone who receives or decodes the token.

Impact#

If exploited, attackers or users with the JWT can access sensitive data such as passwords, personal details, or credentials embedded in the token. This can lead to data leaks, account compromise, or unauthorized access to protected resources.