Back to overview

CVE-2026-61451

CRITICAL Exploitation: PoC
9.6
CVSS 3.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.

Metadata

CVE ID
CVE-2026-61451
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-09 14:06 UTC
Published
2026-07-15 11:25 UTC
Last updated
2026-07-15 12:38 UTC
Primary CWE
CWE-601
URL Redirection to Untrusted Site ('Open Redirect')
Vendor / Product
getgrav / grav
Sources
cve.org  ·  NVD

Severity & Metrics

9.6 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
getgrav grav 0 < 1.0.4, 1.0.4
Weakness (CWE)
CWESourceDescription
CWE-601 cna URL Redirection to Untrusted Site ('Open Redirect')
CVSS scores (2)
ScoreSeverityVersionSourceVector
9.6 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
9.4 CRITICAL 4.0 cna 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
References (2)
Back to overview