XXE in Grav

CVE-2026-56701

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.

Vulnerability class: XXE (XML External Entity)

EPSS: 0.004 (33.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Grav — versions 0, 2.0.0-beta.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-56701?
CVE-2026-56701 is a medium-severity vulnerability in Grav, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 6.5/10. Published 2026-06-23.
How severe is CVE-2026-56701?
Medium severity. CVSS v3 base score is 6.5 out of 10.