What’s Vulnerable › Vulnerabilities
CVE-2026-61451: Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin_base_url
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-15 · updated 2026-10-29
- Weakness: CWE-601
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.
Affected products
- getgrav grav-plugin-api: before 1.0.4 — fixed in 1.0.4
How to fix
Upgrade to a fixed version: getgrav grav-plugin-api 1.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m
- https://www.vulncheck.com/advisories/grav-before-password-reset-token-poisoning-via-admin-base-url
- https://github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m
Get alerted when CVE-2026-61451 or the next vulnerability affects your stack