Skip to content

CVE-2025-40915 Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens

HighCVSS 7.0 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens.

That version of the module generates tokens as an MD5 of the process id, the current time, and a single call to the built-in rand() function.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
gryphon Mojolicious::Plugin::CSRF = 1.03 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gryphon Mojolicious::Plugin::CSRF = 1.03 No fix listed

References