CVE-2025-40915
Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens
- State
- Published
- Severity
- 7.0 High
- Published
- Jun 11, 2025
- Updated
- Jun 11, 2025
- Reserved
- Apr 16, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.0 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L | CISA-ADP |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
Affected Products
| Product | Versions |
|---|---|
Mojolicious::Plugin::CSRFGRYPHON |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.