CVE-2026-72702
CRITICAL 9.3CVSS 4.0Grav: Origin validation bypass in Uri::referrer() and Pages::referrerRoute() via unanchored prefix match
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.
- Published
- 25 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-346
- Also known as
- GHSA-9ccq-2jfg-qw33
- Sources
- NVDJSONOSV GHSA-9ccq-2jfg-qw33JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | getgrav/grav | < 2.0.16 | 2.0.16 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33 · WEB
- https://www.vulncheck.com/advisories/grav-cms-before-origin-validation-bypass-via-referer · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-72702 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2026)