Vulnerabilities

CVE-2025-40915

High 7.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-06-11
Last modified
2026-06-17
Assigned by
9b29abf9-4ab0-4765-b253-1875cd9b441e
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
GRYPHON Mojolicious::Plugin::CSRF 1.03 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities