Description
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.
Metrics
CVSS 3.1 6.3/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:LWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Oct 22, 2026
- Last modified
- Oct 22, 2026
- NVD status
- Deferred