Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend anonymous forgot-password request
-
DeliveryForge CloudFront-Forwarded-Proto scheme value
-
ExploitGrav emails genuine reset link to attacker host
-
ExecutionVictim clicks, leaking username and token
-
ImpactReset password and hijack super-admin account
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
|
| Exploitation Conditions | Requires all of: (1) a Grav site at a vulnerable version where NEITHER system.custom_base_url NOR plugins.login.site_host is configured (the default); (2) a working Email plugin able to send outgoing mail; (3) the attacker knows the target account's email address; and (4) the victim clicks the poisoned link within the 24-hour token validity window. The trigger is the ungated read of the CloudFront-Forwarded-Proto request header (and a raw X-FORWARDED-PROTO branch) into the URL scheme without the system.http_x_forwarded.protocol opt-in and without validating the value is exactly 'http' or 'https'. Limiting factors that defeat it: setting system.custom_base_url, setting plugins.login.site_host, enforcing trusted hosts, or stripping the CloudFront-Forwarded-Proto header at the proxy/web server. Note Grav 1.7 reads this header by default (the value-validation fix is what matters there), whereas Grav 2.x has the header opt-in off by default so the gating fix closes it. |
| Impact | This is a genuine, above-average priority but not an emergency. The input CVSS 4.0 base score is 8.7 (High) with vector AV:N/AC:L/PR:N/UI:N, and the vuln.today decision label is 'this_week' - consistent with a serious but not drop-everything issue. No CISA KEV entry is present (no active exploitation signal), no EPSS probability was supplied, and no confirmed public exploit code is indicated - only the vendor's GHSA advisory reference, so there is no public exploit identified at time of analysis. The strongest risk amplifiers are that the attack is anonymous, network-reachable, and works against a DEFAULT Grav configuration (neither system.custom_base_url nor plugins.login.site_host set), and that success yields super-admin account takeover. The key mitigating factor, and the reason the vendor rated this High rather than Critical, is that exploitation REQUIRES the victim to click the poisoned reset link - the supplied input vector lists UI:N, but the advisory explicitly states victim interaction is needed, a conflict defenders should weight toward UI being required. Net: prioritize patching internet-facing Grav instances this week, but raw CVSS overstates immediacy because the click dependency and trivial config-based mitigations meaningfully lower real-world exploitability. |
| Exploit ScenarioDerived | An anonymous attacker who knows a target admin's email sends a single /forgot_password (or /api/v1/auth/forgot-password) request carrying a forged CloudFront-Forwarded-Proto header set to a value like 'https://evil.example/', causing Grav to email the real owner a genuine, correctly-branded reset message whose button points at the attacker's host. When the admin clicks, the attacker's server receives the username and a live 24-hour reset token, which the attacker uses to set a new password and take over the account - full site control if the victim is a super admin. No public exploit identified at time of analysis; only the vendor GHSA advisory is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Password reset poisoning in Grav CMS allows an anonymous visitor to make a site send a genuine password reset email whose link points at an attacker-controlled host, by adding a forged CloudFront-Forwarded-Proto header to a forgot-password request; if the recipient clicks the link, the attacker captures the username and a live reset token and can set a new password, which on a super admin account means full site control. Affected are Grav 2.x from 2.0.0 through 2.2.17 and Grav 1.7 through 1.7.53.6, specifically on sites where neither system.custom_base_url nor plugins.login.site_host is configured (the default) and where the Email plugin can send outgoing mail. Exploitation is not confirmed as active, no public exploit code has been identified at time of analysis, and the outcome depends on victim interaction (clicking the poisoned link within the 24-hour token window), which is why it is rated High rather than Critical; this is a genuine, above-average priority but not an emergency.
RemediationAI
Vendor-released patch: upgrade Grav 2.x to 2.2.18 or Grav 1.7 to 1.7.53.7, per advisory https://github.com/getgrav/grav/security/advisories/GHSA-5fpx-q3r6-qx4h. After the fix, CloudFront-Forwarded-Proto is read only when system.http_x_forwarded.protocol is enabled and the scheme must be exactly 'http' or 'https'; operators genuinely behind CloudFront must enable that option (it is off by default in Grav 2.x, on by default in Grav 1.7, where the new value check is the effective protection), and the same policy now covers the raw X-FORWARDED-PROTO branch and the PSR-7 request object. If upgrading immediately is not possible, set system.custom_base_url or plugins.login.site_host to the site's real address so reset links always use the configured host, or strip the CloudFront-Forwarded-Proto header at the web server or proxy when CloudFront is not in front of the site; enforcing trusted hosts also defeats the attack. Each workaround pins link generation to a known host, with the trade-off that a CDN fronting the site legitimately relying on forwarded proto information will need the explicit opt-in afterwards rather than the header being honored implicitly.
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
Grav builds request URLs through Uri::createFromEnvironment(), which copies the CloudFront-Forwarded-Proto request header into the URL scheme without checking the system.http_x_forwarded.protocol opt-in and without validating that the value is exactly 'http' or 'https'. A value such as 'https://evil.example/' therefore makes the site's base URL, absolute root URL and every absolute URL derived from them begin with the attacker's scheme/host for that request. The Login plugin's /forgot_password endpoint and the API plugin's /api/v1/auth/forgot-password endpoint build the reset link from these values, so the poisoned link is delivered inside a legitimate, correctly templated email from the site's own sender. The change that made other forwarded headers opt-in in 2.0.0-rc.3 left this branch ungated, and a raw X-FORWARDED-PROTO environment branch lacks the same gate; a control request placing the same value in X-Forwarded-Proto stays on the site's own host. This maps to CWE-348 (use of a less trusted source for a security decision) combined with CWE-640 (weak password recovery), the same class of outcome the plugins already guard against for a forged Host header (GHSA-262p-56vv-7v5r), except that the header reaches sites whose server or CDN answers only for the site's own name and that have no base URL configured. The CPE cpe:2.3:a:getgrav:grav covers the affected Grav releases.
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:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Anonymous network request (AV:N/PR:N), no special timing (AC:L), but the advisory requires the victim to click the reset link (UI:R); token capture enables account/super-admin takeover (C:H/I:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav from 2.0.0 before 2.2.18 contains a password reset poisoning vulnerability that allows anonymous attackers to redirect reset links by forging the CloudFront-Forwarded-Proto header. Attackers can send a forgot-password request with a crafted scheme value so the emailed reset link points to their host, capturing the token to take over accounts including super admins.
Technical POC Analysis
Evidence caveat: the only supplied artifact is advisory GHSA-5fpx-q3r6-qx4h.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Grav CMS sites running default configurations are vulnerable to password reset poisoning, which can lead to full super admin account takeover and complete site control. Although exploitation requires victim interaction and no active exploitation has been observed, the high severity and default configuration exposure mean leadership should prioritize remediation to protect sensitive data and maintain site integrity.
Configure system.custom_base_url or plugins.login.site_host to the correct site URL; enforce multi-factor authentication for super admin accounts; review password reset logs for anomalies.
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-128598
GHSA-3qwj-cvhh-9v6r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB