CVE-2026-56701 Details
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.
A XML external entity (XXE) injection vulnerability has been identified in Grav CMS versions prior to 2.0.0-beta.2. This vulnerability allows authenticated attackers to read arbitrary files from the server by exploiting the SVG file upload feature. The issue arises because the application processes SVG files using 'simplexml_load_string' without disabling external entity loading, which enables the injection of XXE payloads to exfiltrate sensitive data.
Users can upgrade to Grav version 2.0.0-beta.2 or later, where this vulnerability has been fixed. The update includes changes that strip harmful DOCTYPE and ENTITY declarations from uploaded SVG files before parsing, and applies XXE protection flags to prevent external entity loading.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 23, 2026CISA-ADP
Assessed Jun 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/grav-xml-external-entity-injection-via-svg-upload | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | <= 1.7.x |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 23, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2026 | New CVE Received | [email protected] |
Volerion