{"id":"CVE-2026-9733","summary":"Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter","details":"Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter.\n\nWhen no state generator is specified in the constructor, the module defaults to using a SHA-1 hash of predictable and low-entropy sources, including the epoch time (which is leaked via the HTTP Date header) and a call to Perl's built-in rand function.\n\nA predictable state allows an attacker to hijack another user's session through cross site request forgery (CSRF).","modified":"2026-07-15T01:48:51.042179673Z","published":"2026-06-23T07:05:20.564Z","database_specific":{"cna_assigner":"CPANSec","cwe_ids":["CWE-338","CWE-340"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9733.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/23/1"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/HAYAJO/Mojolicious-Plugin-Web-Auth-0.17/source/lib/Mojolicious/Plugin/Web/Auth/OAuth2.pm#L129-131"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9733.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9733"},{"type":"FIX","url":"https://security.metacpan.org/patches/M/Mojolicious-Plugin-Web-Auth/0.17/CVE-2026-9733-r2.patch"},{"type":"PACKAGE","url":"https://github.com/hayajo/Mojolicious-Plugin-Web-Auth"},{"type":"ARTICLE","url":"https://datatracker.ietf.org/doc/html/rfc6749#section-10.12"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hayajo/mojolicious-plugin-web-auth","events":[{"introduced":"0"},{"last_affected":"fb4eb5f5477c1e66dbd82ceec7f070a7f0256b0f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.17"}],"source":"AFFECTED_FIELD"}}],"versions":["0.17","0.16","0.15","0.14","0.13","0.12","0.11","0.10","0.09","0.08","0.07","0.06","0.05","0.04","0.03","0.02","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9733.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}