getgrav/grav is vulnerable to Exposed Dangerous Method or Function
88
CVE Score
High
Exposed Dangerous Method or Function
Blueprint::extend() merged untrusted page-authored frontmatter into a file-defined Flex form blueprint, letting crafted unset-name@ keys or integer field keys move or renumber a data-*@ directive to a path treated as trusted. On normal Flex page-form paths, a page editor could thereby bypass the Class::method allowlist in Blueprint::dynamicData() and invoke arbitrary public static methods such as Folder::delete or Utils::download, causing directory deletion, file overwrite, or file reads outside the page tree. The fix strips unset-name@ (as well as the previously handled rename spelling) and marks new or changed directives after merging as untrusted.
Upgrade the getgrav/grav package to version 2.2.13 or later.
You are affected if you are using a version that falls within the vulnerable range and grant page-edit permission to accounts that author page frontmatter forms.
2.0.15 - 2.2.12
Fixed in 2.2.13getgrav/grav is vulnerable to Exposed Dangerous Method or Function in versions 2.0.15 - 2.2.12.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.