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.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-601 — CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 3.8.5 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6 (x_refsource_CONFIRM)
- https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959 (x_refsource_MISC)
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.