Description
grav-plugin-api versions before 1.0.15 fail to validate Twig content in the translate() endpoint, allowing attackers with api.pages.write permission to persist pages with process.twig enabled. Attackers can submit crafted header and content parameters to execute server-side template injection payloads that are evaluated at render time.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-1336 — Improper Neutralization of Special Elements Used in a Template Engine
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <1.0.15; 1.0.15 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-w94c-jmg4-w4c9 (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-plugin-api-before-twig-ssti-via-translate-endpoint (third-party-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.