Submit #628233: linlinjava litemall ≤ v1.8.0 Hardcoded JWT Secret(CWE-798)info

Titlelinlinjava litemall ≤ v1.8.0 Hardcoded JWT Secret(CWE-798)
DescriptionA 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)
Submission08/04/2025 17:16 (11 months ago)
Moderation08/13/2025 18:26 (9 days later)
StatusAccepted
VulDB entry319970 [linlinjava litemall up to 1.8.0 JSON Web Token JwtHelper.java SECRET hard-coded credentials]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!