Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
FAQ
What is CVE-2026-53654?
CVE-2026-53654 is a documented vulnerability. 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 extern...
How severe is CVE-2026-53654?
CVSS scoring is not yet available for CVE-2026-53654. Check NVD for updates.
Is there a patch for CVE-2026-53654?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.