CVE-2026-77568 PUBLISHED

Mojolicious: CSRF tokens are vulnerable to BREACH attacks

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 18.09.2026 Updated: 18.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS Score: 4.2

Product Status

Vendor mojolicious
Product mojo
Versions
  • Version < 9.48 is affected

References

Problem Types

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE
  • CWE-352: Cross-Site Request Forgery (CSRF) CWE