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.
Published: 2026-11-26
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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


Subscriptions

Getgrav Grav-plugin-form
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-26T11:30:22Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')