CVE-2026-72702
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 (strstartswith($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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72702.json, https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33, https://nvd.nist.gov/vuln/detail/CVE-2026-72702, https://www.vulncheck.com/advisories/grav-cms-before-origin-validation-bypass-via-referer