{"id":"CVE-2026-62236","published":"2026-07-17T00:07:11Z","modified":"2026-07-17T14:15:05Z","title":"grav-plugin-login < 3.8.11 CSRF via regenerate2FASecret","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"grav-plugin-login before 3.8.11 contains a cross-site request forgery (CSRF) vulnerability in the login.regenerate2FASecret frontend task, which regenerates and persists a new TOTP secret for the authenticated session user without any anti-CSRF nonce or Origin/Referer check. Because Grav core dispatches the task from the GET 'task:' URI parameter and the default session cookie is SameSite=Lax, an attacker can lure a logged-in victim to an off-site page that performs a top-level GET navigation, rotating the victim's TOTP secret so their enrolled authenticator no longer matches the server, effectively forcing 2FA re-enrollment. Sites configured with session.samesite: Strict are not affected.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00143,"percentile":0.01816,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-plugin-login-csrf-via-regenerate2fasecret","tags":["third-party-advisory"]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":0.36},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 3.8.11"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["3.8.11"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-17T14:14:34.527583Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45082","exploited":false,"provenance":"source"}}