CVE-2026-94107

Summary

NivoCart through 2.4.0 contains a predictable password reset token vulnerability in the forgotten.php endpoint that generates recovery codes using substr(md5(mt_rand()), 0, 10). Attackers who know an administrator's email address can request a password reset and predict the token to gain administrative account access without rate limiting or expiration.

Affected Software

VendorProductVersion RangeStatus
nivocartnivocart0 <= 2.4.0affected

Weaknesses

  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

References