CVE-2024-28119 - CVE House
Back to Database
Status published High CVE-2024-28119

Grav vulnerable to Server Side Template Injection (SSTI) via Twig escape handler

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

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-2024-28119

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

grav
Vulnerable Versions:
< 1.7.45

Timeline

Official Publish: March 21st, 2024
Last Modified: August 21st, 2024
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)