CVE-2021-29440

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
13/04/2021
Last modified:
09/11/2022

Description

Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. The issue was addressed in version 1.7.11.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* 1.7.11 (excluding)