CVE-2026-77568: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in mojolicious mojo
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.
AI Analysis
Technical Summary
Mojolicious, a Perl real-time web framework, versions before 9.48 reuse an unchanged per-session CSRF token in rendered HTML via the csrf_field, csrf_token, and csrf_protect helpers. When response compression is enabled and attacker-influenced content is reflected in the same HTTP response, an unauthenticated attacker capable of inducing multiple victim requests and observing response sizes can exploit the BREACH compression side channel to recover the CSRF token. This exposure allows the attacker to forge cross-site requests. Deployments that do not render the token in HTML (API-only) are not vulnerable. The vulnerability is addressed in Mojolicious version 9.48.
Potential Impact
An unauthenticated attacker can recover CSRF tokens by exploiting a compression side channel (BREACH) when response compression is enabled and attacker-controlled content is reflected. This enables the attacker to forge cross-site requests, potentially leading to unauthorized actions on behalf of victims. The impact is limited to confidentiality and integrity of CSRF tokens, with no availability impact reported.
Mitigation Recommendations
Upgrade Mojolicious to version 9.48 or later, where this issue is fixed. If upgrading is not immediately possible, consider disabling response compression or ensuring that attacker-controlled content is not reflected in responses containing CSRF tokens. API-only deployments that do not render CSRF tokens in HTML are not affected and require no action.
CVE-2026-77568: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in mojolicious mojo
Description
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.
CVSS v3.1
Score 4.2medium
Affected software
mojolicious
mojo
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mojolicious, a Perl real-time web framework, versions before 9.48 reuse an unchanged per-session CSRF token in rendered HTML via the csrf_field, csrf_token, and csrf_protect helpers. When response compression is enabled and attacker-influenced content is reflected in the same HTTP response, an unauthenticated attacker capable of inducing multiple victim requests and observing response sizes can exploit the BREACH compression side channel to recover the CSRF token. This exposure allows the attacker to forge cross-site requests. Deployments that do not render the token in HTML (API-only) are not vulnerable. The vulnerability is addressed in Mojolicious version 9.48.
Potential Impact
An unauthenticated attacker can recover CSRF tokens by exploiting a compression side channel (BREACH) when response compression is enabled and attacker-controlled content is reflected. This enables the attacker to forge cross-site requests, potentially leading to unauthorized actions on behalf of victims. The impact is limited to confidentiality and integrity of CSRF tokens, with no availability impact reported.
Mitigation Recommendations
Upgrade Mojolicious to version 9.48 or later, where this issue is fixed. If upgrading is not immediately possible, consider disabling response compression or ensuring that attacker-controlled content is not reflected in responses containing CSRF tokens. API-only deployments that do not render CSRF tokens in HTML are not affected and require no action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T20:35:30.147Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aad640855bf5e2cf53a6a4a
Added to database: 09/18/2026, 16:17:12 UTC
Last enriched: 09/18/2026, 16:32:20 UTC
Last updated: 09/19/2026, 00:41:38 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.