{"id":"CVE-2026-58655","published":"2026-07-15T11:25:34Z","modified":"2026-07-28T13:02:09Z","title":"Grav Flex Objects - Server-Side Template Injection via Dynamic Titles","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"The bundled Grav Flex Objects plugin (getgrav/grav-plugin-flex-objects) before 1.4.0 contains a stored server-side template injection vulnerability. When rendering dynamic collection or object titles, the plugin passes user-controlled frontmatter values (page.header.flex.collection.title or page.header.flex.object.title) to Twig's template_from_string(), causing them to be evaluated as Twig code rather than treated as text. This path bypasses Grav's Security::cleanDangerousTwig() sanitization. An attacker who can control the title frontmatter of a publicly reachable Flex Objects page can achieve arbitrary Twig execution and escalate to remote command execution via access to internal Grav services such as the scheduler.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01417,"percentile":0.73428,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-623v-m3c4-3pw8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-flex-objects-server-side-template-injection-via-dynamic-titles","tags":["third-party-advisory"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":14.69},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.4.0"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["1.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T12:18:16.613803Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-44633","exploited":false,"provenance":"source"}}