8.8

CVE-2024-28119: getgrav grav Code Injection

CVSS: 8.8v3.1HighAnalyzed
Published 21-03-2024Last modified 21-08-2024

Vulnerability summary

CVE-2024-28119 is a high (CVSS 8.8) Code Injection vulnerability in getgrav grav. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 21-03-2024
    PublishedVulnerability first disclosed.
  2. 21-08-2024
    Last modifiedVulnerability information updated.

Description

Grav is an open-source, flat-file content management system. Prior to version 1.7.45, due to the unrestricted access to twig extension class from grav context, an attacker can redefine the escape function and execute arbitrary commands. 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. Version 1.7.45 contains a patch for this issue.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

1.58%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

0.00 pp

From 1.58% on 20-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Grav

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Getgrav1 product

1 vendor · 1 product

References

3 links