CVE-2023-34251: Grav Server Side Template Injection vulnerability

10.0 CVSS

Description

Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page editing privileges. Version 1.7.42 contains a fix for this issue.

Classification

CVE ID: CVE-2023-34251

CVSS Base Severity: CRITICAL

CVSS Base Score: 10.0

Affected Products

Vendor: getgrav

Product: grav

Exploit Prediction Scoring System (EPSS)

EPSS Score: 1.07% (probability of being exploited)

EPSS Percentile: 84.2% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5
https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5
https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174

Timeline