← back
CVE-2021-29440highCWE-94

Twig allowing dangerous PHP functions by default

53Vexday Risk Score

No sign of exploitation. It has a public proof of concept.

ssvc Attendcvss 8.4epss 31%
from disclosure to weapon54 days
Published on NVDApr 13
1st PoC+54d
exploitation probability
31%top 2% of all CVEs
observed exploitation
nono source reports it
3 public exploit(s)
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Affected products
getgrav · grav
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.