{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40915","id":"CVE-2025-40915","title":"Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens","description":"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.","descriptionLong":"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.","published":"2025-06-11T17:09:50.664Z","updated":"2026-10-28T02:30:42.094334666Z","reserved":"2025-04-16T09:05:34.361Z","status":"Deferred","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["GRYPHON Mojolicious::Plugin::CSRF"],"affectedProducts":[{"vendor":"GRYPHON","product":"Mojolicious::Plugin::CSRF","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.03","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-338"],"aliases":[],"references":[{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/diff/GRYPHON/Mojolicious-Plugin-CSRF-1.03","tags":["web"]},{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CSRF-1.04/changes","tags":["web"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40915.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40915","tags":["advisory"]},{"url":"https://github.com/gryphonshafer/Mojo-Plugin-CSRF","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00288,"epssPercentile":0.21783,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40915","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40915","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40915","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40915","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}