Grav before 2.2.18 Session Hijacking via Shared-Cacheable Media Responses
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 17, 2026
Description
Grav before 1.7.53.7 and 2.x before 2.2.18 serves page media files, and rendered pages when lazy sessions are enabled, with the visitor's session cookie and a shared-cacheable Cache-Control header. When a shared cache such as Apache mod_cache stores Set-Cookie responses, an attacker can lure a user signed in through the front-end login to open a media URL with a unique query string, then request that URL to receive the cached session cookie and take over the session.
| Product | Versions |
|---|---|
| grav getgrav | 2.0.0 to before 2.2.18 Affected2.2.18 Not Affected |
| grav getgrav | before 1.7.53.7 Affected1.7.53.7 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-524 Use of Cache Containing Sensitive Information
References
- GitHub Security Advisory (GHSA-rxcr-hmmj-6j2c)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.