What’s Vulnerable › Vulnerabilities

CVE-2026-56701: Grav - XML External Entity Injection via SVG Upload

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

How to fix

Upgrade to a fixed version: getgrav grav 2.0.0-beta.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56701 or the next vulnerability affects your stack