Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2026-56701Grav - XML External Entity Injection via SVG Upload
Medium 6.5
In plain English
A medium-severity XML external entity in Grav from Grav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.0-beta.2 | GHSA-3446-6mgw-f79p |
Affected products (as reported)
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-3446-6mgw-f79p) vendor-advisory
- VulnCheck Advisory: Grav - XML External Entity Injection via SVG Upload third-party-advisory