{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Mojolicious-2026-15747 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-mojolicious-2026-15747.json" }, { "category": "external", "summary": "https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27.patch", "url": "https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27.patch" }, { "category": "external", "summary": "https://metacpan.org/release/SRI/Mojolicious-9.48/changes", "url": "https://metacpan.org/release/SRI/Mojolicious-9.48/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/07/14/16", "url": "http://www.openwall.com/lists/oss-security/2026/07/14/16" }, { "category": "external", "summary": "CVE-2026-15747 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-15747" } ], "title": "Mojolicious vulnerability", "tracking": { "current_release_date": "2026-07-14T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Mojolicious-2026-15747", "initial_release_date": "2026-07-14T00:00:00", "revision_history": [ { "date": "2026-07-14T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>4.59|<9.48", "product": { "name": "Mojolicious greater than 4.59 and less than 9.48", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Mojolicious" } } }, { "category": "product_version_range", "name": "vers:cpan/>=9.48", "product": { "name": "Mojolicious greater than or equal 9.48", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Mojolicious" } } } ], "category": "product_name", "name": "Mojolicious" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-15747", "cwe": { "id": "CWE-204", "name": "Observable Response Discrepancy" }, "notes": [ { "category": "description", "text": "Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle.\n\n_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.\n\nAn attacker able to query it can recover the token and pass csrf_protect validation.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.1, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }