Skip to main content
VulnerabilityPublished Updated

CVE-2026-56701: getgrav/grav · Grav is Vulnerable to XXE via SVG Upload

Affects getgrav/gravSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.0.0-beta.2 when convenient.

Data as of 7 Nov 2026, 23:24 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 7 Nov 2026.

What to do

Upgrade getgrav/grav to 2.0.0-beta.2.

Affected software

ProductAffectedFixed in
Packagistgetgrav/gravAffected
  • <2.0.0-beta.2
Fixed in
  • 2.0.0-beta.2

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

Community reviews

Loading reviews…