CVSS Score of 10 (low)


Published Jun 14, 2023
Updated: Nov 7, 2023
CWE ID 1336
CWE ID 184


CVE-2023-34252 is a logic flaw vulnerability in Grav, a flat-file content management system. The vulnerability exists in the `GravExtension.filterFilter()` function prior to version 1.7.42. It allows a low privileged attacker with login access to Grav Admin panel and page creation/update permissions to inject malicious templates and achieve remote code execution. The vulnerability can be found in the `/system/src/Grav/Common/Twig/Extension/GravExtension.php` file. To remediate this issue, users should upgrade to version 1.7.42 and ensure that the `twig.undefined_functions` and `twig.undefined_filters` properties in the configuration file are set to `false`. This vulnerability poses a high risk to organizations as it can lead to unauthorized code execution and potential compromise of sensitive data or systems.


Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2023-34252 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options