CVE 9.1 CRITICAL

Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter_CVE-2026-9733

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter.

When 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.

A predictable state allows an attacker to hijack another user's session through cross site request forgery (CSRF).

AI Analysis

Predictable state parameter in Mojolicious::Plugin::Web::Auth::OAuth2 allows session hijacking through CSRF

Basic Information

ID CVE-2026-9733
Source CPANSec
Published Jun 23, 2026 at 07:05
Modified Jun 23, 2026 at 14:18

Affected Product

Vendor HAYAJO
Product Mojolicious::Plugin::Web::Auth::OAuth2
Version 0.17
Affected Versions HAYAJO Mojolicious::Plugin::Web::Auth::OAuth2 0

CWE Classification

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor HAYAJO
Product Mojolicious::Plugin::Web::Auth::OAuth2
Version 0.17

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.