CVE-2026-137305

Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination

Published Nov 26, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Getgrav
Getgrav grav-plugin-form
Vendors & Products Getgrav
Getgrav grav-plugin-form
Type Values Removed Values Added
Description 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.
Title Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 1:37 AM
Reserved
Nov 26, 2026, 12:20 AM
Status
Received
Published
Nov 26, 2026, 2:17 AM
Modified
Nov 26, 2026, 2:17 AM