CVE-2026-56701 PUBLISHED

Grav - XML External Entity Injection via SVG Upload

Assigner: VulnCheck
Reserved: 22.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor Grav
Product Grav
Versions Default: unaffected
  • affected from 0 to 2.0.0-beta.2 (excl.)
  • Version 2.0.0-beta.2 is unaffected

References

Problem Types

  • Improper Restriction of XML External Entity Reference CWE