8.4

CVE-2021-29440: getgrav grav Code Injection

CVSS: 8.4v3.1HighModified
Published 13-04-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-29440 is a high (CVSS 8.4) Code Injection vulnerability in getgrav grav. EPSS estimates a 29.90% chance of exploitation in the next 30 days, higher than 98.1% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
50/100
0100
High · default modelHow is this calculated?
CVSS score
8.4/10
010
High · v3.1 (CVE.org)
EPSS score
29.90%
0%100%
High · -0.73 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3reference, exploit-database

Timeline

  1. 13-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

29.90%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

-0.73 pp

From 30.62% on 20-09-2026

20-09-202620-10-2026
EPSS score
29.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (blog.sonarsource.com)

    Maturity: unknown

  • exploit-databasephpUnverified

    Grav CMS 1.7.10 - Server-Side Template Injection (SSTI) (Authenticated)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Getgrav1 product

1 vendor · 1 product

References

4 links