name | severity | cvss-score | cvss-vector | cwe-id | cwe-name | compliance | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JWT signature is not being verified |
high |
7.5 |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
CWE-345 |
Insufficient Verification of Data Authenticity |
|
The JWT signature is not being verified by the server. If the JWT is used to control access to the application, an attacker could take advantage of this vulnerability to forge a token and impersonate other users or even elevate privileges.
{% tabs jwt-signature-is-not-being-verified %} {% tab jwt-signature-is-not-being-verified generic %} To fix this issue, you should check the signature of the JWT before reading/using the payload content. {% endtab %}
{% endtabs %}