CVE-2025-40915

High

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.

SeverityHigh
CVSS7.0
Exploit probability—
ProductMojolicious::Plugin::CSRF
PublishedJun 11, 2025
First seenJun 11, 2025
Weakness typeCWE-338CWE-338

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
GRYPHON Mojolicious::Plugin::CSRF1.03—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-40915 · Mojolicious::Plugin::CSRF · Dark Radar