CVE-2023-34251
CRITICALGrav < 1.7.42 - Authenticated Server-Side Template Injection via Administrator Screen
Title source: llmDescription
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.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5
Patch x_refsource_misc
https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5
Vendor Advisory x_refsource_misc
https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174
Scores
CVSS v3
9.9
EPSS
0.0234
EPSS Percentile
81.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (2)
getgrav/grav
< 1.7.42
getgrav/grav
0 - 1.7.42Packagist
Published
Jun 14, 2023
Tracked Since
Feb 18, 2026