Cross-site request forgery in SRI Mojolicious
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Tampering
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-204 and CWE-352.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Mojolicious (SRI) Fixed in 9.48
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-15747
- 2026-10-03 Alias added: GHSA-6cg9-7rr8-cvj2
References
More SRI vulnerabilities
- TI-2026-12479 Uncontrolled recursion in SRI Mojo::JSON CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-15747 · CVE Program
- CVE-2026-15747 · NVD
- FIRST EPSS
- GHSA-6cg9-7rr8-cvj2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-15747 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences