CVE-2026-72701
6.3
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Summary
Grav CMS before 2.0.16 contains a timing vulnerability in Utils::verifyNonce() that uses non-constant-time string comparison with the === operator instead of hash_equals() for CSRF nonce validation. Attackers can measure response timing differences to recover valid nonce values byte-by-byte through multiple requests, weakening CSRF protection below its intended security margin.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| getgrav | grav | 0 < 2.0.16 | affected |
| getgrav | grav | 2.0.16 | unaffected |
Weaknesses
- CWE-208: Observable Timing Discrepancy
References
- https://github.com/getgrav/grav/security/advisories/GHSA-38p6-h87p-r4cg
- https://www.vulncheck.com/advisories/grav-cms-before-timing-attack-via-verifynonce
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.