CVE-2026-62236: Grav Plugin Login - Cross-Site Request Forgery
- Cve: CVE-2026-62236
- Name: Grav Plugin Login - Cross-Site Request Forgery
- Description: 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.
- Impact: Attackers can force logged-in users to reset their 2FA, disrupting authentication and requiring re-enrollment.
- Remediation: Update to version 3.8.11 or later.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: broken_authentication
- Requirement type: user_interaction
- Requirements: Victim must be logged in and visit attacker-controlled page
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Epss score: 0.00115
- Epss percentile: 0.01555
- Assignee: [email protected]
- Published at: 2026-07-17T02:18:11Z
- Age in days: 130
- Modified at: 2026-10-24T20:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-62236
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-4px8-7p53-282r | nvd | |
| https://www.vulncheck.com/advisories/grav-plugin-login-csrf-via-regenerate2fasecret | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getgrav:grav | < 3.8.11 | no | cna | /v1/products/getgrav/grav |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getgrav/grav | security_advisory | yes | /v1/repositories/getgrav/grav |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 1971
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports