Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-61451: Grav before 1.0.4: Password Reset Token Leaked via Fake Email
CVE-2026-61451
CVE-2026-61451
Summary
Grav users are at risk of account takeover if an attacker sends a fake password reset email with a link to a server they control. This can happen if an attacker sends a malicious request to the Grav API, which doesn't properly check the email link. To protect yourself, update Grav to version 1.0.4 or later.
What to do
No fix is available yet. Check with your software vendor for updates.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| getgrav | grav | < 1.0.4 |
Original title
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() ...
Original description
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.
nvd CVSS3.1
9.6
nvd CVSS4.0
9.4
Vulnerability type
CWE-601
Open Redirect
Published: 15 Jul 2026 · Updated: 20 Jul 2026 · First seen: 15 Jul 2026