| Title | linlinjava litemall ≤ v1.8.0 Hardcoded JWT Secret(CWE-798) |
|---|
| Description | A hardcoded JWT secret vulnerability exists in Litemall versions ≤ 1.8.0. The issue is located in:
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/util/JwtHelper.java
The developers hardcoded the JWT secret directly into the source code, resulting in a predictable and static key for signing JSON Web Tokens (JWTs). This weakness enables attackers to forge valid JWTs, potentially leading to privilege escalation and unauthorized access. |
|---|
| Source | ⚠️ https://github.com/linlinjava/litemall/issues/568 |
|---|
| User | ez-lbz (UID 87033) |
|---|
| Submission | 08/04/2025 17:16 (11 months ago) |
|---|
| Moderation | 08/13/2025 18:26 (9 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 319970 [linlinjava litemall up to 1.8.0 JSON Web Token JwtHelper.java SECRET hard-coded credentials] |
|---|
| Points | 20 |
|---|