GHSA-9q4x-gw9j-6q2jLowCVSS 3.1

Bagisto through 2.5.2 contains an insecure randomness vulnerability that allows customers to...

Published
December 5, 2026
Last Modified
December 5, 2026

🔗 CVE IDs covered (1)

📋 Description

Bagisto through 2.5.2 contains an insecure randomness vulnerability that allows customers to predict bulk coupon codes generated by CartRuleCouponRepository::getRandomString() using PHP rand(). Attackers holding two or more codes from one batch can recover the 32-bit Mersenne Twister seed and compute unissued codes to redeem discounts meant for others.

🔗 References (4)