CVE-2026-72702
Grav CMS before 2.0.16 Origin Validation Bypass via Referer
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
Grav CMS before 2.0.16 contains an origin validation bypass in the Uri::referrer() and Pages::referrerRoute() methods, which validate the Referer header using an unanchored string prefix match (str_starts_with($referrer, $base)) with no trailing delimiter. An attacker who controls a domain that begins with the victim site's origin (e.g. https://example.com.attacker.tld) can send a request with such a Referer to be treated as same-origin, bypassing the Referer-based origin check.
| CWE | CWE-346 |
| Vendor | getgrav |
| Product | grav |
| Published | Aug 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for getgrav grav
Be the first to know when new medium vulnerabilities affecting getgrav grav are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
getgrav / grav
0 < 2.0.16
References
Credits
๐ alham-rizvi