CVE-2026-137305

Source
https://cve.org/CVERecord?id=CVE-2026-137305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137305
Aliases
  • GHSA-4grx-p93p-25w8
Published
2026-11-26T01:37:17Z
Modified
2026-11-26T03:00:09Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137305.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "9.2.4"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "9.2.4"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/getgrav/grav-plugin-form

Affected ranges

Type
GIT
Repo
https://github.com/getgrav/grav-plugin-form
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "3daa9cb66c43b6d472473dcbf0c312c8e66b1769"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.7.0
1.*
1.3.0-beta.1
1.3.0-beta.2
1.3.0-beta.3
1.3.0-beta.4
1.3.0-beta.6
1.3.0-rc.1
1.3.0-rc.2
1.3.0-rc.3
1.3.0-rc.4
2.*
2.0.0-rc.1
2.0.8-rc.1
2.8.0-rc.1
2.8.0-rc.2
3.*
3.0.0-beta.1
3.0.0-beta.2
3.0.0-beta.3
3.0.0-beta.4
3.0.0-beta.5
3.0.0-rc.1
3.0.0-rc.2
3.0.0-rc.3
3.0.0-rc.4
4.*
4.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137305.json"