What’s Vulnerable › Vulnerabilities
CVE-2026-56701: Grav - XML External Entity Injection via SVG Upload
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-611
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
- getgrav grav: before 2.0.0-beta.2 — fixed in 2.0.0-beta.2
How to fix
Upgrade to a fixed version: getgrav grav 2.0.0-beta.2. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p
- https://www.vulncheck.com/advisories/grav-xml-external-entity-injection-via-svg-upload
- https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p
Get alerted when CVE-2026-56701 or the next vulnerability affects your stack