Code Injection Vulnerability in Grav Form Plugin by Grav
CVE-2026-137305
8.7HIGH
What is CVE-2026-137305?
The Grav Form plugin prior to version 9.2.4 is susceptible to a code injection vulnerability that permits attackers to upload malicious files into Twig template directories. By exploiting an unchecked file field destination in the uploadFiles() function, an attacker can upload .txt or .svg files containing bypassed Twig code. If these files are subsequently rendered as trusted templates, it leads to execution of arbitrary code with the privileges of the web server user, posing significant security risks to web applications leveraging this plugin.
Affected Version(s)
grav-plugin-form 0 < 9.2.4
