PT-2026-58293 · Sri · Mojolicious

Published

2026-07-14

·

Updated

2026-07-14

·

CVE-2026-15747

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle.
csrf token generates and caches one token per session and returns the same value on every call, and csrf field places that value in a hidden csrf token input. When a response carrying the token also echoes attacker-controlled input and is gzip-compressed, the chosen values and the resulting compressed lengths form a BREACH oracle.
An attacker able to query it can recover the token and pass csrf protect validation.

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-15747

Affected Products

Mojolicious