Skip to main content

Grav Login Plugin EUVDEUVD-2026-62532

| CVE-2026-53654 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-08-19 GitHub_M
5.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts twofa_cancel POST with external _redirect value
  2. Delivery
    Distributes URL via phishing email targeting site users
  3. Exploit
    Victim clicks trusted Grav domain link
  4. Execution
    Unauthenticated request processed by Login plugin without nonce check
  5. Persist
    Controller passes _redirect to Grav redirect response
  6. Impact
    Victim's browser transparently redirected to attacker phishing site

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Grav Login plugin (grav-plugin-login) be installed and active on the target site - it is a standard plugin but must be enabled. The twofa_cancel task endpoint must be reachable over the network; no authentication is required (PR:N). The attacker must control or influence the _redirect POST parameter to point to an external http, https, or protocol-relative URL. Exploitation is limited by user interaction: a victim must follow or submit to the crafted request (UI:P in CVSS 4.0), making this a phishing-dependent attack rather than a directly exploitable server flaw. There is no code execution, no data exfiltration from the Grav server, and no availability impact - the harm is entirely to the victim's trust relationship. Non-default configurations do not expand the attack surface; the vulnerability exists in default Login plugin behavior.

Impact

The CVSS 4.0 score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P) accurately reflects the real-world risk profile: the attack is trivially launched over the network with no authentication and no special conditions, but requires passive user interaction - a victim must click or follow a crafted link. This shifts the threat model firmly into phishing territory rather than direct system compromise. EPSS data was not provided in the source intelligence; the absence of KEV listing and public exploit code suggests this has not been observed in broad exploitation campaigns. The subsequent-system impact metrics (SC:L/SI:L) in the CVSS 4.0 vector correctly capture that the Grav server itself is unaffected - the integrity harm is to the victim's trust relationship and browsing session. Despite the moderate score, even a mid-sized municipal IT team in inowroclaw running a public-facing Grav instance should treat patching as a near-term priority, since the unauthenticated attack surface means no internal access is required and brand or institutional trust can be abused at scale via mass-distributed phishing URLs. The data is internally consistent: no conflicting signals between CVSS vector and description.

Exploit ScenarioDerived

An attacker crafts a POST request URL targeting a trusted Grav site's twofa_cancel endpoint and includes a _redirect parameter pointing to an attacker-controlled phishing domain, then distributes this link via email or social engineering. A victim who clicks the link is transparently redirected by the legitimate Grav host to the malicious site, lending the phishing page the credibility of originating from a trusted domain. No public exploit code has been identified, but the attack is trivially reproducible from the CVE description alone given its low technical complexity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Open redirect in the Grav Login plugin (prior to version 3.8.5) allows unauthenticated attackers to weaponize any public Grav installation as a trusted-domain launchpad for phishing. The twofa_cancel task accepted a client-controlled _redirect POST parameter without nonce validation; Controller::execute() forwarded this value through Grav::getRedirectResponse() and Uri::isExternal(), which confirmed the URL was external but did not block it - enabling seamless transparent redirect to attacker-controlled http, https, or protocol-relative targets. The vendor released a patch in Login plugin 3.8.5 that both adds nonce verification to the twofa_cancel task and blocks external client-supplied redirects across all login tasks. No public exploit has been identified and the vulnerability is not in the CISA KEV catalog.

RemediationAI

Upgrade the Grav Login plugin to version 3.8.5 or later; the patched release is available at https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5 and the fixing commit is at https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959. The fix is comprehensive: it blocks external client-supplied _redirect values in Controller::execute() for all login tasks, not only twofa_cancel, and adds nonce verification to the previously unguarded twofa_cancel endpoint. If immediate patching is not feasible, a compensating control is to configure a web application firewall or reverse proxy rule to strip or reject the _redirect POST parameter on requests to the twofa_cancel task endpoint; note this workaround does not add nonce enforcement and may break legitimate server-side redirects if misconfigured. Disabling 2FA entirely to remove the endpoint would be a high-impact mitigation with significant operational trade-offs and is not recommended.

Affected VersionsENISA

grav < 3.8.5

Affected Packages

euvd grav fix: 3.8.5

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 is a PHP flat-file CMS whose authentication is handled by the grav-plugin-login package (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*). The Login plugin supports two-factor authentication and exposes a twofa_cancel task endpoint. The root cause (CWE-601: URL Redirection to Untrusted Site) stems from two compounding defects: first, twofa_cancel lacked nonce enforcement, so any unauthenticated HTTP POST could invoke the task; second, Controller::execute() applied a client-supplied _redirect field whenever the task itself did not set a redirect destination - which twofa_cancel did not. The Uri::isExternal() helper confirmed that the target was an external URL, but this result was used as a pass-through rather than a guard. The commit diff at GHSA-wwcc-xxhc-44j6 confirms the fix adds !Uri::isExternal($redirect) as a blocking condition in Controller::execute() and injects nonce verification into twofa_cancel via the login-form nonce - closing the attack surface for this task and, as the code comment notes, hardening every other login task against the same vector.

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 4.7 MEDIUM

Network-reachable unauthenticated endpoint, user interaction required to follow crafted link, scope changes to victim browser session with low integrity impact; no server-side confidentiality or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 19, 2026 - 16:17 EUVD

DescriptionCVE.org

Grav is a file-based Web platform. Prior to 3.8.5, the Login plugin twofa_cancel task accepts a client-controlled _redirect field without a nonce and allows an unauthenticated request to set an external http, https, or protocol-relative Location target. Controller::execute() applies the field when taskTwofa_cancel() sets no redirect, and Grav::getRedirectResponse() accepts the target through Uri::isExternal(), enabling phishing redirects from a trusted Grav host. This issue is fixed in version 3.8.5.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche flat-file PHP CMS, limited enterprise adoption
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

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

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

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

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy