Description
Grav before 2.0.0-beta.2 contains an XML external entity injection vulnerability in SVG file upload processing that allows authenticated attackers to read arbitrary files. The application uses simplexml_load_string without disabling external entity loading, enabling attackers to inject XXE payloads via malicious SVG files to exfiltrate sensitive data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Grav | Grav | < 2.0.0-beta.2 | 2.0.0-beta.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | getgrav/grav | < 2.0.0-beta.2 | 2.0.0-beta.2 | GHSA-3446-6mgw-f79p |
References
- GitHub Security Advisory (GHSA-3446-6mgw-f79p) vendor-advisory
- VulnCheck Advisory: Grav - XML External Entity Injection via SVG Upload third-party-advisory