CVE Catalog

CVE-2026-77568

MediumCVSS 4.2
Published: Translated: NVD NIST

Summary

Mojolicious is a real-time web framework for Perl. Prior to 9.48, the Mojolicious CSRF helpers csrf_field, csrf_token, and csrf_protect reuse an unchanged per-session token in rendered HTML. When response compression is enabled and attacker-influenced content is reflected in the same response, an unauthenticated attacker who can induce many victim requests and observe response sizes can use a BREACH compression side channel to recover the token and forge cross-site requests. API-only deployments that never render the token in HTML are not affected. This issue is fixed in version 9.48.

Risk Assessment

An attacker can recover the CSRF token and forge cross-site requests on behalf of the victim, potentially leading to unauthorized actions in the application.

Recommendation

Update Mojolicious to version 9.48 or later.

Other vulnerabilities in Mojolicious

See all
Original NVD description (English source)

Mojolicious is a real-time web framework for Perl. Prior to 9.48, the Mojolicious CSRF helpers csrf_field, csrf_token, and csrf_protect reuse an unchanged per-session token in rendered HTML. When response compression is enabled and attacker-influenced content is reflected in the same response, an unauthenticated attacker who can induce many victim requests and observe response sizes can use a BREACH compression side channel to recover the token and forge cross-site requests. API-only deployments that never render the token in HTML are not affected. This issue is fixed in version 9.48.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS