Code Injection Vulnerability in Grav Form Plugin by Grav
CVE-2026-137305

8.7HIGH

Key Information:

Vendor

Getgrav

Vendor
CVE Published:
26 November 2026

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

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

EZO Labs Security
.