CVE-2026-72702

published 25 Aug 2026 · updated 8 Oct 2026

Grav CMS before 2.0.16 Origin Validation Bypass via Referer

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.0.16.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<2.0.162.0.16

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72702 severity on Zeptric[![CVE-2026-72702](https://zeptric.io/badge/cve/CVE-2026-72702.svg)](https://zeptric.io/cve/CVE-2026-72702)