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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Nov 2026 03:30:00 +0000

Type Values Removed Values Added
First Time appeared Getgrav
Getgrav grav-plugin-form
Vendors & Products Getgrav
Getgrav grav-plugin-form

Thu, 26 Nov 2026 01:45:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-26T01:37:17.193Z

Reserved: 2026-11-26T00:20:37.803Z

Link: CVE-2026-137305

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-26T02:17:02.350

Modified: 2026-11-26T02:17:02.350

Link: CVE-2026-137305

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-26T03:15:02Z

Weaknesses