# CVE-2026-137305: Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-11-26T01:37:17.193Z
- Modified: 2026-12-01T05:18:38.703Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- getgrav grav-plugin-form: before 9.2.4

## Every score

- VulnCheck: CVSS:4.0 8.7 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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8> (third-party-advisory, vendor-advisory)
- <https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769> (patch)
- <https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injection-via-file-field-upload-destination> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137305](https://www.cve.org/CVERecord?id=CVE-2026-137305), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137305](https://nvd.nist.gov/vuln/detail/CVE-2026-137305), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137305 · Whole record: https://cve.day/CVE-2026-137305.json · Rebuilt by cve.day 2026-12-01T05:32:13.650Z
