Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain target user's email address
-
DeliverySend crafted admin_base_url to forgot-password endpoint
-
ExploitBackslash URL bypasses PHP parse_url host check
-
ExecutionVictim clicks genuine emailed reset link
-
ImpactBrowser leaks reset token to attacker, account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | The Grav API plugin version 1.1.20 or earlier must be installed and reachable. The attacker must know a valid account's email address (a super-admin's qualifies) and sends POST /api/v1/auth/forgot-password with a backslash-containing value in either the client-supplied admin_base_url parameter or the Origin header (e.g. https://attacker.example\@site.example), so PHP parse_url() reads the trusted site as the host while browsers resolve the backslash to the attacker host. This works whether or not plugins.login.site_host or system.custom_base_url is configured, because the attacker reuses the site's real host for the part PHP validates. The Referer-header branch rebuilds the URL from parsed parts and is NOT exploitable. Key limiting factor: the attack requires the victim to click the link in the genuine reset email (UI:P) and requires knowledge of a target email; it does not require authentication (PR:N). Complete remediation is upgrade to 1.1.21, which rebuilds the URL from validated scheme/host/port/path and rejects backslash, user-info, whitespace or control characters. |
| Impact | Signals mostly align toward high priority but stop short of confirmed active exploitation. The provided CVSS 4.0 score of 9.4 reflects a network vector (AV:N), low complexity (AC:L), no attacker privileges (PR:N), and only passive user interaction (UI:P), with high impact to confidentiality, integrity and availability - consistent with full account takeover, including super-admins. The vuln.today decision label is act_now and the finding comes from a credible source (VulnCheck plus the vendor GHSA advisory). However, no EPSS probability was supplied and the CVE is NOT in CISA KEV, so there is no evidence of confirmed active exploitation - the urgency rests on the act_now label and the severity of the outcome, not on observed in-the-wild use. The single genuine limiting factor is UI:P: the attack only succeeds if the victim clicks the legitimate reset link, and the attacker must already know a valid account email. Because the phishing email is the real, vendor-sent reset message, this interaction requirement is weak protection in practice. Net: treat as a real, high-priority patching item driven by the act_now decision and super-admin-takeover impact, while noting that the widespread-exploitation signals (EPSS, KEV) are absent rather than negative. |
| Exploit ScenarioDerived | An anonymous attacker who knows a target's email submits POST /api/v1/auth/forgot-password with a crafted admin_base_url such as https://attacker.example\@site.example; PHP parse_url() reads the host as the legitimate site and accepts it, but the raw string is embedded in the reset link. The victim receives a genuine reset email, clicks the button, and the browser (following WHATWG URL rules) sends the reset token to attacker.example, letting the attacker set a new password. No public weaponized exploit code is identified, though the GHSA advisory publicly documents the exact crafted-URL technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Password reset token theft in the Grav API plugin 1.1.20 and earlier allows an unauthenticated attacker who knows a user's email address, including a super-admin's, to poison the genuine reset link through a backslash-containing admin_base_url or Origin value and receive the reset token when the victim clicks it, leading to account takeover. The flaw is a PHP parse_url() versus browser URL-parsing mismatch; the Referer branch is not affected. The vendor fixed it in 1.1.21 and the CVSS 4.0 score is 9.4; no public exploit was identified at time of analysis.
RemediationAI
Upgrade getgrav/grav-plugin-api to 1.1.21 or later; version 1.1.21 is the complete vendor fix and rebuilds the emailed base URL only from the scheme, host, port and path that passed the trusted-origin check, while rejecting candidates containing a backslash, user info, whitespace or control characters. Confirm the installed plugin version and redeploy, then verify the patched version is active. The advisory is https://github.com/getgrav/grav/security/advisories/GHSA-fqv4-9pm4-v2q2. The source material does not describe a supported workaround short of updating.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a URL parser differential (CWE-436) in the Grav API plugin's password-reset flow, compounded by weak password recovery handling (CWE-640). POST /api/v1/auth/forgot-password passes a client-supplied admin_base_url to ResolvesAdminBaseUrl::resolveAdminBaseUrl(); sanitizeHttpUrl() and the trusted-origin check validate the candidate with PHP parse_url(), which reads the text before a backslash as user info and reports the trusted site as the host, but the method then returns the raw string for the emailed link. Browsers apply the WHATWG URL standard, treat the backslash as a path separator and navigate to the attacker host, so the token is exfiltrated. The Origin-header branch has the same defect; the Referer branch rebuilds the URL from its parsed parts and is not affected. The base URL check was added for CVE-2026-61839 and CVE-2026-86196 but did not normalize the emitted string. The behavior occurs whether or not plugins.login.site_host or system.custom_base_url is configured, because the attacker uses the site's real host as the portion PHP validates.
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
PR:N as it is unauthenticated and AC:L since only a crafted base-URL string is needed; UI:R because the victim must click the genuine reset link; S:C because super-admin takeover enables host-level code execution via Grav admin.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav API plugin before 1.1.21 validates the client-supplied admin_base_url or Origin header with PHP parse_url() but places the raw string in password reset links, so a backslash-containing URL passes the host check while browsers resolve it to an attacker host. An unauthenticated attacker who knows a user's email address can request a reset via /api/v1/auth/forgot-password, and when the victim clicks the genuine emailed link the reset token is sent to the attacker, enabling account takeover including super-admins.
Articles & Coverage 2
Technical POC Analysis
The bug is CWE-436 interpretation conflict in the Grav API plugin's ResolvesAdminBaseUrl::resolveAdminBaseUrl() in getgrav/grav-plugin-api versions <= 1.1.20.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-145025 is a critical unauthenticated account takeover flaw in the Grav API plugin 1.1.20 and earlier, allowing an attacker to steal password reset tokens and seize any account, including super-admin, simply by knowing the user's email address. Since exploit tooling is not publicly available but the attack is straightforward and requires no credentials, the risk to the organization is high if Grav is in use, as compromise of a super-admin account could lead to full site takeover, data breach, or further lateral movement.
No vendor-released patch identified at time of analysis; vendor fix is expected in 1.1.21. Interim mitigations include restricting access to Grav admin/API endpoints, enabling web application firewall rules to block malformed Origin headers, disabling the affected password reset feature, and monitoring for anomalous reset requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-144349
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB