We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-40915

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



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.

Reserved 2025-04-16 | Published 2025-06-11 | Updated 2025-06-11 | Assigner CPANSec

Problem types

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator

Product status

Default status
unaffected

1.03
affected

References

metacpan.org/...04/diff/GRYPHON/Mojolicious-Plugin-CSRF-1.03

metacpan.org/...GRYPHON/Mojolicious-Plugin-CSRF-1.04/changes

cve.org (CVE-2025-40915)

nvd.nist.gov (CVE-2025-40915)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-40915

Support options

Helpdesk Chat, Email, Knowledgebase