Description
Grav versions before 1.10.55 contain a path traversal vulnerability in the admin plugin's Save As action that fails to validate the language code parameter. An authenticated admin user with admin.pages.create permission can supply directory traversal sequences in the lang POST field to write arbitrary .md files outside the pages directory with attacker-controlled content.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 1.10.55 | 1.10.55 |
References
- GitHub Security Advisory (GHSA-h9g9-73c3-23c9) vendor-advisory
- VulnCheck Advisory: Grav Admin Plugin Path Traversal via Save As Language Code third-party-advisory