Vulnerability details

CVE-2025-40915

GRYPHON Mojolicious::Plugin::CSRF

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

CVSS 3.1
7.0High

Official 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 scores

ScoreVersionSourceVector
7.0High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected products

VendorProductVersionsSource
GRYPHON Mojolicious::Plugin::CSRF 1.03 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-06-11
Last updated
2025-06-11
State
Published
Assigner (CNA)
CPANSec

Exploit prediction (EPSS)

0.28%
Probability of exploitation in 30 days
21.5%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

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