5 matches found
Cross Site Scripting
Grav is vulnerable to Cross Site Scripting. The vulnerability is due to the XSS blueprint validator running on raw page content before Twig processing, where an attacker with page-write API permission can use Twig's string concatenation operator to dynamically construct event handler names, and...
EUVD-2024-0989
Malicious code in bioql PyPI...
GHSA-2M7X-C7PX-HP58 Server Side Template Injection (SSTI) via Twig escape handler
Summary Due to the unrestricted access to twig extension class from grav context, an attacker can redefine the escape function and execute arbitrary commands. Details https://github.com/twigphp/Twig/blob/3.x/src/Extension/EscaperExtension.phpL99 php / Defines a new escaper to be used via the esca...
Server Side Template Injection (SSTI) via Twig escape handler
Summary Due to the unrestricted access to twig extension class from grav context, an attacker can redefine the escape function and execute arbitrary commands. Details https://github.com/twigphp/Twig/blob/3.x/src/Extension/EscaperExtension.phpL99 php / Defines a new escaper to be used via the esca...
CVE-2024-28118 Grav vulnerable to Server Side Template Injection (SSTI)
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 config variable. As a result, attacker can bypass a previous SSTI mitigation. Twig processing of static pages ca...