{"id":"CVE-2026-53654","state":"PUBLISHED","title":"Grav: Unauthenticated open redirect via login twofa_cancel _redirect","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.","publishedAt":"2026-08-19T15:15:30.263Z","updatedAt":"2026-08-19T15:42:49.046Z","severity":{"score":5.3,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["getgrav grav"],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 3.8.5","status":"affected"}]}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6","https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959","https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53654.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53654","state":"PUBLISHED","datePublished":"2026-08-19T15:15:30.263Z","dateUpdated":"2026-08-19T15:42:49.046Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-09T20:50:36.876Z"},"containers":{"cna":{"title":"Grav: Unauthenticated open redirect via login twofa_cancel _redirect","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 3.8.5","status":"affected"}]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6","name":"https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959","name":"https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959","tags":["x_refsource_MISC"]},{"url":"https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5","name":"https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-19T15:15:30.263Z"},"source":{"advisory":"GHSA-wwcc-xxhc-44j6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T15:42:12.333159Z","id":"CVE-2026-53654","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-19T15:42:49.046Z"}}]}}}