CVE-2021-29440

Twig allowing dangerous PHP functions by default

Published Apr 13, 2021 CVSS 3.1 · 8.4 High EPSS 29.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g8r4-p96j-xfxc Grav's Twig processing allowing dangerous PHP functions by default
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 10:02 PM
Reserved
Mar 30, 2021, 12:00 AM
Status
Modified
Published
Apr 13, 2021, 8:15 PM
Modified
Jun 17, 2026, 3:47 AM