Back to overview

CVE-2026-15747

Description
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.

Metadata

CVE ID
CVE-2026-15747
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-07-14 15:03 UTC
Published
2026-07-14 17:07 UTC
Last updated
2026-07-14 19:30 UTC
Primary CWE
CWE-204
CWE-204 Observable Response Discrepancy
Vendor / Product
SRI / Mojolicious
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
SRI Mojolicious 4.59 < 9.48
Weakness (CWE)
CWESourceDescription
CWE-204 cna CWE-204 Observable Response Discrepancy
CWE-352 cna CWE-352 Cross-Site Request Forgery (CSRF)
Back to overview