CSRF in Mojolicious Mojo

CVE-2026-77568

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 class: Information Disclosure

CVSS v3 metric

CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-77568?
CVE-2026-77568 is a medium-severity vulnerability in Mojolicious Mojo, classified under Information Disclosure. CVSS score: 4.2/10. Published 2026-09-18.
How severe is CVE-2026-77568?
Medium severity. CVSS v3 base score is 4.2 out of 10.