# CVE-2026-72702: Grav CMS before 2.0.16 Origin Validation Bypass via Referer

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-08-25T01:30:25.032Z
- Modified: 2026-10-12T15:10:00.207Z
- Also known as: GHSA-9ccq-2jfg-qw33
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 2.0.16 (not affected: 2.0.16)
- getgrav/grav (Packagist): before 2.0.16

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: rating Low

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-cms-before-origin-validation-bypass-via-referer> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72702> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-72702](https://www.cve.org/CVERecord?id=CVE-2026-72702), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-9ccq-2jfg-qw33](https://github.com/advisories/GHSA-9ccq-2jfg-qw33), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-72702](https://nvd.nist.gov/vuln/detail/CVE-2026-72702), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-72702 · Whole record: https://cve.day/CVE-2026-72702.json · Rebuilt by cve.day 2026-11-25T22:59:35.095Z
