A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.
These predictable default secrets can be exploited by an attacker to forge session cookies. An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Mojolicious mojolicious
Weakness type
References
- docs.mojolicious.org /Mojolicious/Guides/FAQ
- github.com /hashcat/hashcat/pull/4090
- github.com /mojolicious/mojo/pull/1791
- github.com /mojolicious/mojo/pull/2200
- github.com /mojolicious/mojo/pull/2252
- lists.debian.org /debian-perl/2025/05/msg00016.html
- lists.debian.org /debian-perl/2025/05/msg00017.html
- lists.debian.org /debian-perl/2025/05/msg00018.html
- medium.com /securing/baking-mojolicious-cookies-revisited-a-case-study…
- metacpan.org /release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm
- www.synacktiv.com /publications/baking-mojolicious-cookies
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning