CVE-2021-29440 - CVE House
Back to Database
Status published High CVE-2021-29440

Twig allowing dangerous PHP functions by default

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-29440

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

grav
Vulnerable Versions:
< 1.7.11

Timeline

Official Publish: April 13th, 2021
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Weaknesses (CWE)