{"id":"CVE-2026-72702","published":"2026-08-25T01:30:25Z","modified":"2026-10-08T15:24:25Z","title":"Grav CMS before 2.0.16 Origin Validation Bypass via Referer","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00149,"percentile":0.04181,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-cms-before-origin-validation-bypass-via-referer","tags":["third-party-advisory"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.84},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.16"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["2.0.16"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-25T16:02:36.978586Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.16"],"patched":["2.0.16"],"from":["GHSA-9ccq-2jfg-qw33"],"provenance":"source"}],"summary":{"text":"The flaw is an origin validation bypass in the Uri::referrer() and Pages::referrerRoute() methods of the Grav CMS (getgrav/grav) before version 2.0.16, where the Referer header is checked with an unanchored string prefix match and no trailing delimiter. An attacker needs only network access and must get a victim to interact (for example by visiting an attacker-controlled page) so the browser sends a request whose Referer begins with the site's origin, such as a domain like example.com.attacker.tld, which is then treated as same-origin and bypasses the Referer-based check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:05Z"},"euvd":{"id":"EUVD-2026-65216","exploited":false,"provenance":"source"}}