PoC Monitor
← All CVEs
CVE-2026-61451published 15 Jul 2026 11:25 UTCData: JSON · API

Getgrav grav-plugin-api

Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin_base_url

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.6critical · scored by CNA · CWE-601
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

getgrav grav-plugin-api
  • < 1.0.4

Fixed in 1.0.4

Mitigation

Upgrade grav-plugin-api to 1.0.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.