Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-137305
Published:November 26, 2026
Updated:December 03, 2026
Grav Form plugin before 9.2.4 contains a code injection vulnerability that allows page authors to write uploads into Twig template folders by setting an unchecked file field destination in Form::uploadFiles(). Attackers can upload .txt or .svg files containing Twig and have them rendered as trusted templates outside the sandbox, executing code as the web server user.
Affected Packages
https://github.com/getgrav/grav-plugin-form.git (GITHUB):
Affected version(s) >=1.0.1 <9.2.4 || >=2.0.0-rc.1 <9.2.4 || >=3.0.0-beta.1 <9.2.4 || >=4.0.0-rc.1 <9.2.4 || >=5.0.0 <9.2.4 || >=6.0.0 <9.2.4 || >=7.0.0 <9.2.4 || >=8.0.0 <9.2.4 || >=9.1.0 <9.2.4
Fix Suggestion:
Update to version 9.2.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code
EPSS
Base Score:
0.67