CVE-2025-40915GRYPHON Mojolicious::Plugin::CSRF
High 7.0 No auth needed
Follow: this CVE · GRYPHON · GRYPHON Mojolicious::Plugin::CSRF We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 3.1
- 7.0
- EPSS
- —
- Auth required
- No
- Published
- Jun 11, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Mojolicious::Plugin::CSRF.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- GRYPHON · Mojolicious::Plugin::CSRF
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.