CVE-2025-40915CWE-338

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

High · published June 11, 2025

CVSS v3.1
7.0
EPSS
0%
Percentile
19.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00276 · 19.0th percentile
Weakness
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Published
2025-06-11T17:09Z
EPSS history
Timeline
  • 11 JUN 17:09Z
    Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens
    cvelistv5