Skip to main content
← All vulnerabilities
CVE-2026-72702GHSA-9CCQ-2JFG-QW33

Grav CMS before 2.0.16 Origin Validation Bypass via Referer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.16

  • getgrav/gravPackagist

    fixed in 2.0.16

References 2

GitHub · getgrav/grav

vulncheck.com