← News
Grav Form plugin: code injection allows file upload
HighAI-generated2026-11-26
- CVE
- CVE-2026-137305
- Severity
- High (CVSS 8.8)
- Attack conditions
- Remotely, over the network · A regular user account is needed · No user action needed
- Exploitation probability (EPSS)
- 0.6% (within 30 days; FIRST EPSS, 30 November 2026)
Summary
The Grav Form plugin versions prior to 9.2.4 let attackers upload files that can be executed as code on the server.
Details
According to the NVD record, the Grav Form plugin before version 9.2.4 has a code injection flaw. The vulnerability arises because the plugin does not validate the destination of uploaded files, allowing page authors to place files in Twig template directories.
An attacker can exploit this by uploading a .txt or .svg file that contains Twig code. When the file is rendered as a trusted template, the malicious code runs with the privileges of the web server user.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 26 November 2026 This article was written
- 26 November 2026 NVD record published