CVE-2026-61451
Last modified
CVE-2026-61451 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-61451?
How severe is CVE-2026-61451?
How do I fix CVE-2026-61451?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61446PraisonAI (praisonaiagents) before 1.6.78 contains a remote …8.6
- CVE-2026-61447PraisonAI before 1.6.78 contains a remote code execution vul…10
- CVE-2026-61448Parse Server is affected by a stored cross-site scripting (X…2.1
- CVE-2026-61449Grav 2.0.1 contains a decompression-bomb size-cap bypass in …7.1
- CVE-2026-6145The User Registration & Membership plugin for WordPress is v…5.3
- CVE-2026-61450Grav before 2.0.2 contains a Twig sandbox bypass that allows…7.1
- CVE-2026-61452The Grav API plugin (getgrav/grav-plugin-api) before 2.0.4 c…6.9
- CVE-2026-61453Grav v2.0.0 contains a cross-site scripting vulnerability (f…6.1
- CVE-2026-61454The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2…8.7
- CVE-2026-61455Grav before 2.0.1 contains a decompression bomb vulnerabilit…7.1
- CVE-2026-61456The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 f…5.1
- CVE-2026-61457The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 c…8.8
Are you affected by CVE-2026-61451?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
