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.
Severity (CVSS)
| Base score | 5.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| Provided by | CNA |
Weaknesses
- CWE-352 — CWE-352: Cross-Site Request Forgery (CSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav-plugin-login | < 3.8.11 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r (x_refsource_CONFIRM)
- https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630 (x_refsource_MISC)
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.