Skip to main content
VulnerabilityPublished Updated

Uri::referrer() · Duplicate Advisory: Grav: Origin validation bypass

Affects getgrav/gravSource GCVE Database

0

CVSS 5.4 Medium · fixed in 2.0.16 : update getgrav/grav when convenient.

Data as of 18 Sep 2026, 01:28 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.0.16
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What to do

Affected software

ProductAffectedFixed in
Packagistgetgrav/gravAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Grav CMS version 2.0.16. Users should upgrade to version 2.0.16 or later to remediate this vulnerability. No additional mitigation steps are indicated.

Description

Grav CMS versions before 2.0.16 have an origin validation bypass vulnerability in the Uri::referrer() and Pages::referrerRoute() methods. The issue arises because these methods validate the Referer header using an unanchored prefix match without a trailing delimiter. This allows an attacker controlling a domain that starts with the victim's origin to bypass the Referer-based origin check.

References

Community reviews

Loading reviews…