Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33
- https://www.vulncheck.com/advisories/grav-cms-before-origin-validation-bypass-vi
FAQ
What is CVE-2026-72702?
CVE-2026-72702 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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_st...
How severe is CVE-2026-72702?
CVE-2026-72702 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-72702?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.