Description
Grav versions 2.0.0 through 2.0.17 fail to apply save-time XSS detection to modular pages, allowing authenticated page editors to store Twig-assembled XSS payloads. Attackers with page-edit rights can create modular pages with malicious Twig code that executes in visitor browsers when the parent page is rendered, including in administrator sessions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | 2.0.0 – ≤ 2.0.17 | — |
References
- GitHub Security Advisory (GHSA-fg8g-663r-f366) vendor-advisory
- VulnCheck Advisory: Grav 2.0.0 through 2.0.17 Stored XSS via Modular Pages third-party-advisory