{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137305","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-26T00:20:37.803Z","datePublished":"2026-11-26T01:37:17.193Z","dateUpdated":"2026-11-26T01:37:17.193Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-26T01:37:17.193Z"},"datePublic":"2026-11-24T22:34:05.000Z","title":"Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94","type":"CWE"}]}],"affected":[{"vendor":"getgrav","product":"grav-plugin-form","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"9.2.4","versionType":"semver","status":"affected"}],"packageURL":"pkg:composer/getgrav/grav-plugin-form","repo":"https://github.com/getgrav/grav-plugin-form"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8","tags":["vendor-advisory","third-party-advisory"],"name":"GitHub Security Advisory (GHSA-4grx-p93p-25w8)"},{"url":"https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injection-via-file-field-upload-destination","name":"VulnCheck Advisory: Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"EZO Labs Security","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}