Description
Grav before 3.9.2 fails to validate untrusted Host headers in the sendInvitationEmail() function when constructing token-bearing invitation links. Attackers can manipulate the Host header to poison invitation links and redirect users to attacker-controlled domains, bypassing the require_trusted_host protection which only covers password reset flows.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 3.9.2 | 3.9.2 |
References
- GitHub Security Advisory (GHSA-69vf-mjxw-x79j) vendor-advisory
- VulnCheck Advisory: Grav before 3.9.2 Host Header Injection via sendInvitationEmail third-party-advisory