Descrição
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.
CVSS 5.4EPSS 0.10300000000000001%Risco 0.55
Ver fonte- Publicação
- 2026-08-25 02:16:46
- Versões afetadas
- <2.0.16
- Tipo
- Aplicação web
- Última alteração
- 2026-08-25 02:16:46
- Vetor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N