Vulnerability in Gryphon Mojolicious::plugin::csrf

CVE-2025-40915

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L.

EPSS exploit prediction

EPSS: 0.003 (18.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 18th percentile — 18.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-40915: held from 0.002 to 0.003.

EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-40915?
CVE-2025-40915 is a high-severity vulnerability in Gryphon Mojolicious::plugin::csrf, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 7.0/10. Published 2025-06-11.
How severe is CVE-2025-40915?
High severity. CVSS v3 base score is 7.0 out of 10.