CVE-2026-53654: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in getgrav grav
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.
AI Analysis
Technical Summary
Grav CMS versions prior to 3.8.5 contain an open redirect vulnerability (CWE-601) in the Login plugin's twofa_cancel task. The plugin accepts a client-controlled _redirect parameter without verifying a nonce, allowing unauthenticated requests to specify an external URL for redirection. The Controller::execute() method applies this redirect when taskTwofa_cancel() does not set a redirect, and Grav::getRedirectResponse() accepts the external target via Uri::isExternal(). This flaw enables attackers to redirect users from a trusted Grav host to arbitrary external sites, facilitating phishing attacks. The vulnerability is resolved in version 3.8.5.
Potential Impact
An attacker can exploit this vulnerability to redirect users from a trusted Grav site to an attacker-controlled external URL without authentication. This can be used in phishing campaigns to trick users into visiting malicious sites. There is no direct impact on confidentiality, integrity, or availability of the Grav system itself, but the open redirect can facilitate social engineering attacks.
Mitigation Recommendations
This vulnerability is fixed in Grav version 3.8.5. Users should upgrade to version 3.8.5 or later to remediate the issue. No other mitigations are specified or required once the update is applied.
CVE-2026-53654: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in getgrav grav
Description
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.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/getgrav/grav-plugin-loginRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Grav CMS versions prior to 3.8.5 contain an open redirect vulnerability (CWE-601) in the Login plugin's twofa_cancel task. The plugin accepts a client-controlled _redirect parameter without verifying a nonce, allowing unauthenticated requests to specify an external URL for redirection. The Controller::execute() method applies this redirect when taskTwofa_cancel() does not set a redirect, and Grav::getRedirectResponse() accepts the external target via Uri::isExternal(). This flaw enables attackers to redirect users from a trusted Grav host to arbitrary external sites, facilitating phishing attacks. The vulnerability is resolved in version 3.8.5.
Potential Impact
An attacker can exploit this vulnerability to redirect users from a trusted Grav site to an attacker-controlled external URL without authentication. This can be used in phishing campaigns to trick users into visiting malicious sites. There is no direct impact on confidentiality, integrity, or availability of the Grav system itself, but the open redirect can facilitate social engineering attacks.
Mitigation Recommendations
This vulnerability is fixed in Grav version 3.8.5. Users should upgrade to version 3.8.5 or later to remediate the issue. No other mitigations are specified or required once the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T20:50:36.876Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a85ca6dacd9273b493ff5a5
Added to database: 08/19/2026, 15:23:25 UTC
Last enriched: 08/19/2026, 15:38:28 UTC
Last updated: 08/20/2026, 00:59:40 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.