Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/changes
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/diff/GRYPHON/M
FAQ
What is CVE-2025-40915?
CVE-2025-40915 is a vulnerability with a CVSS score of 7.0 (HIGH). 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 s...
How severe is CVE-2025-40915?
CVE-2025-40915 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-40915?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.