{"id":"CVE-2025-40915","published":"2025-06-11T17:09:50Z","modified":"2025-06-11T17:57:28Z","title":"Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens","vendor":"GRYPHON","product":"Mojolicious::Plugin::CSRF","tier":"tail","description":{"text":"Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens.\n\nThat 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00288,"percentile":0.21907,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/diff/GRYPHON/Mojolicious-Plugin-CSRF-1.03","tags":[]},{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/changes","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":4.38},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"gryphon","affectedVersions":[{"vendor":"GRYPHON","product":"Mojolicious::Plugin::CSRF","versions":["1.03"]}],"solutions":{"items":["Users of version 1.03 should upgrade to 1.04."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-62","name":"Cross Site Request Forgery"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-11T17:52:49.542565Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-18132","exploited":false,"provenance":"source"}}