Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.
https://github.com/getgrav/grav/security/advisories/GHSA-95jr-q4xh-27vr
Published: 2026-10-22
Updated: 2026-11-05
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:P
Severity: High
Base Score: 6.3
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
Severity: Medium
Base Score: 7
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00211