CVE-2026-72702
Severity CVSS v4.0:
CRITICAL
Type:
Unavailable / Other
Publication date:
25/08/2026
Last modified:
25/08/2026
Description
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.
Impact
Base Score 4.0
9.30
Severity 4.0
CRITICAL
Base Score 3.x
5.40
Severity 3.x
MEDIUM



