Origin Validation Bypass in Grav CMS by GetGrav
CVE-2026-72702

9.3CRITICAL

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-72702?

Grav CMS prior to version 2.0.16 is susceptible to an origin validation bypass due to improper handling of the Referer header in its Uri::referrer() and Pages::referrerRoute() methods. The vulnerability arises from the validation process, which employs an unanchored string prefix match without a trailing delimiter. This flaw allows an attacker with control over a malicious domain that resembles the target site’s origin, such as 'https://example.com.attacker.tld', to manipulate requests. By sending a specially crafted request using a Referer that mimics the same-origin policy, the attacker can bypass key security checks, posing a significant risk of unauthorized access and exploitation.

Affected Version(s)

grav 0 < 2.0.16

grav 2.0.16

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

alham-rizvi
.