---
id: CVE-2026-53654
title: Grav is a file-based Web platform
summary: >-
  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 …
severity: none
cwe:
  - CWE-601
published: '2026-08-19'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:13:25.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53654'
references:
  - url: >-
      https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5'
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6'
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00526
epssPercentile: 0.42274
ingestedAt: '2026-09-09T21:22:45.539Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
