Vulnerability

CVE-2026-62236

lowCVSS 4.0 2.3Published 17 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/security/advisories/GHSA-4px8-7p53-282r
  • www.vulncheck.com /advisories/grav-plugin-login-csrf-via-regenerate2fasecret

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning