CVE-2026-58655
highpriority · track · 0EPSS 0.014 · 73 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.3–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/getgrav/grav/security/advisories/GHSA-623v-m3c4-3pw8cnnvd
- https://www.vulncheck.com/advisories/grav-flex-objects-server-side-template-injection-via-dynamic-titlescnnvd
- https://github.com/getgrav/grav/security/advisories/GHSA-623v-m3c4-3pw8enisa_euvd
- https://www.vulncheck.com/advisories/grav-flex-objects-server-side-template-injection-via-dynamic-titlesenisa_euvd
- https://github.com/getgrav/grav/security/advisories/GHSA-623v-m3c4-3pw8nvd
- https://www.vulncheck.com/advisories/grav-flex-objects-server-side-template-injection-via-dynamic-titlesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan