Grav - XML External Entity Injection via SVG Upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Grav | Grav | before 2.0.0-beta.2 | 2.0.0-beta.2 | Patch available | CNA |
| — | getgrav/grav (Packagist) | before 2.0.0-beta.2 | 2.0.0-beta.2 | Patch available | GHSA-3446-6mgw-f79p |
- Grav VendorGrav Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available CNA
- getgrav/grav (Packagist) Vendor— Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available GHSA-3446-6mgw-f79p
Remediation
- Fix · CNA Grav (Grav) Fixed in 2.0.0-beta.2
- Fix · GHSA-3446-6mgw-f79p getgrav/grav (Packagist) Fixed in 2.0.0-beta.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56701
- 2026-10-03 Alias added: GHSA-3446-6mgw-f79p
References
More Grav vulnerabilities
- TI-2026-42219 Grav - Arbitrary File Upload via Avatar Endpoint CVSS 4.0MEDIUM 5.3
- TI-2026-10325 Stored XSS via missing XSS safety check in Admin2 Pages API partial validation CVSS 4.0MEDIUM 5.1
- TI-2026-42222 Grav - Stored CSS Injection via Markdown Image resize() Action CVSS 4.0MEDIUM 4.8
- TI-2026-40879 Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection CVSS 4.0CRITICAL 9.3
- TI-2026-06424 Grav CMS Cache Value FileCache.php doGet deserialization CVSS 4.0LOW 2.3
Sources
- CVE-2026-56701 · CVE Program
- CVE-2026-56701 · NVD
- FIRST EPSS
- GHSA-3446-6mgw-f79p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences