CVE-2026-56701: getgrav/grav · Grav is Vulnerable to XXE via SVG Upload
Affects getgrav/gravSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.0.0-beta.2 when convenient.
Data as of 8 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.0-beta.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 8 Nov 2026.
What to do
Upgrade getgrav/grav to 2.0.0-beta.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistgetgrav/grav | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A security fix is available and has been applied in Grav CMS version 2.0.0-beta.2 and the updated dom-sanitizer library. The fix strips DOCTYPE and ENTITY declarations from SVG files before XML parsing and disables external entity loading, preventing XXE exploitation. Users should upgrade to Grav 2.0.0-beta.2 or later and ensure the updated dom-sanitizer library is in use. No additional mitigation actions are required once patched.
Description
Grav CMS versions prior to 2.0.0-beta.2 are vulnerable to an XML External Entity (XXE) injection via SVG file uploads. Authenticated attackers with admin panel access can upload malicious SVG files that exploit improper XML parsing to read arbitrary server files, perform SSRF, or cause denial of service. The vulnerability arises from using simplexml_load_string without disabling external entity loading. A fix has been applied in Grav 2.0.0-beta.2 and the associated SVG sanitizer library to strip dangerous XML declarations and disable external entity processing.
References
- github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-56701 (opens in a new tab)
- github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 (opens in a new tab)
- github.com/getgrav/grav (opens in a new tab)
- vulncheck.com/advisories/grav-xml-external-entity-injection-via-svg-upload (opens in a new tab)