What is CVE-2026-137305?
CVE-2026-137305 is a high-severity vulnerability in getgrav grav-plugin-form, published on 26 Nov 2026.
Official 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.
Weakness: CWE-94
How severe is CVE-2026-137305?
CVE-2026-137305 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
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
Which versions are affected by CVE-2026-137305?
1 open source package ship an affected version, including getgrav/grav-plugin-form.
| Package | Affected | Fixed in |
|---|---|---|
getgrav/grav-plugin-form Packagistpkg:composer/getgrav/grav-plugin-form | All versions | 9.2.4 |
How do I fix CVE-2026-137305?
Upgrade getgrav/grav-plugin-form to 9.2.4 or later.
Is CVE-2026-137305 being exploited?
There is no known exploitation of CVE-2026-137305 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-4grx-p93p-25w8, GHSA-fjr8-4mf4-7wvw.