CVE-2025-8974 linlinjava litemall JSON Web Token JwtHelper.java hard-coded credentials
Attackers can exploit hard-coded JWT secrets in litemall to bypass authentication and potentially take over user accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8974?
CVE-2025-8974 is a medium-severity vulnerability in linlinjava litemall, published on 14 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was determined in linlinjava litemall up to 1.8.0. Affected by this issue is some unknown functionality of the file litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/util/JwtHelper.java of the component JSON Web Token Handler. The manipulation of the argument SECRET with the input X-Litemall-Token leads to hard-coded credentials. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-8974?
It affects 1 product.
Products include Linlinjava Litemall.
How do I fix CVE-2025-8974?
No fix has been published for CVE-2025-8974 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-8974 being exploited?
There is no known exploitation of CVE-2025-8974 in the wild and no public exploit code.
Other vulnerabilities in linlinjava litemall
Sources
Also known as GHSA-fwvg-rm9j-mp24.