CVE-2026-62671: CWE-352: Cross-Site Request Forgery (CSRF) in getgrav grav-plugin-login
Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task accepts a top-level GET request through the TaskServiceProvider task: URI parameter without requiring a login-form nonce, an Origin check, or a Referer check. Under the default SameSite=Lax session cookie policy, an off-site navigation can invoke taskRegenerate2FASecret() in a logged-in victim's session, overwrite the victim's TOTP secret, and force two-factor re-enrollment. This issue is fixed in version 3.8.11.
AI Analysis
Technical Summary
The Grav Login Plugin before version 3.8.11 contains a CSRF vulnerability (CWE-352) in the login.regenerate2FASecret task. This task can be triggered by a top-level GET request through the TaskServiceProvider task: URI parameter without proper CSRF protections such as a login-form nonce, Origin, or Referer checks. Under the default SameSite=Lax cookie policy, an attacker can cause a logged-in user's session to execute this task, overwriting the victim's TOTP secret and forcing them to re-enroll in two-factor authentication. This vulnerability is addressed in version 3.8.11.
Potential Impact
An attacker can exploit this vulnerability to force a logged-in user to overwrite their two-factor authentication secret, effectively disrupting the user's 2FA setup and requiring re-enrollment. This impacts the integrity of the user's authentication process and may cause denial of access until reconfiguration is completed. There is no direct confidentiality impact reported.
Mitigation Recommendations
Upgrade the Grav Login Plugin to version 3.8.11 or later where this vulnerability is fixed. No other mitigation is indicated or required as the fix is available.
CVE-2026-62671: CWE-352: Cross-Site Request Forgery (CSRF) in getgrav grav-plugin-login
Description
Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task accepts a top-level GET request through the TaskServiceProvider task: URI parameter without requiring a login-form nonce, an Origin check, or a Referer check. Under the default SameSite=Lax session cookie policy, an off-site navigation can invoke taskRegenerate2FASecret() in a logged-in victim's session, overwrite the victim's TOTP secret, and force two-factor re-enrollment. This issue is fixed in version 3.8.11.
CVSS v3.1
Score 5.4medium
Affected software
pkg:github/getgrav/grav-plugin-loginRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Grav Login Plugin before version 3.8.11 contains a CSRF vulnerability (CWE-352) in the login.regenerate2FASecret task. This task can be triggered by a top-level GET request through the TaskServiceProvider task: URI parameter without proper CSRF protections such as a login-form nonce, Origin, or Referer checks. Under the default SameSite=Lax cookie policy, an attacker can cause a logged-in user's session to execute this task, overwriting the victim's TOTP secret and forcing them to re-enroll in two-factor authentication. This vulnerability is addressed in version 3.8.11.
Potential Impact
An attacker can exploit this vulnerability to force a logged-in user to overwrite their two-factor authentication secret, effectively disrupting the user's 2FA setup and requiring re-enrollment. This impacts the integrity of the user's authentication process and may cause denial of access until reconfiguration is completed. There is no direct confidentiality impact reported.
Mitigation Recommendations
Upgrade the Grav Login Plugin to version 3.8.11 or later where this vulnerability is fixed. No other mitigation is indicated or required as the fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-14T20:22:04.394Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a85d4edacd9273b494d33c4
Added to database: 08/19/2026, 16:08:13 UTC
Last enriched: 08/19/2026, 16:26:28 UTC
Last updated: 08/19/2026, 17:33:21 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.