CVE-2026-61451

CRITICAL

Grav before 1.0.4 Password Reset Token Poisoning via admin_base_url

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-5xc4-j99p-cp4m)
https://github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m
Third Party Advisory third-party-advisory
VulnCheck Advisory: Grav before 1.0.4 Password Reset Token Poisoning via admin_base_url
https://www.vulncheck.com/advisories/grav-before-password-reset-token-poisoning-via-admin-base-url

Scores

CVSS v3 9.6
EPSS 0.0024
EPSS Percentile 15.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-601
Status published
Products (2)
getgrav/grav < 1.0.4
getgrav/grav 1.0.4
Published Jul 15, 2026
Tracked Since Jul 15, 2026