CVE-2026-56701: Grav - XML External Entity Injection via SVG Upload

Published Jun 23, 2026
·
Updated

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 simplexmlloadstring without disabling external entity loading, enabling attackers to inject XXE payloads via malicious SVG files to exfiltrate sensitive data.

Affected Software

1 affected component
Grav Grav<2.0.0-beta.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.0.0-beta.2
  2. Configuration

    Disable external entity loading when parsing uploaded SVG files (ensure simplexml_load_string is not invoked with external entity loading enabled or use an XML parser/configuration that disables external entity expansion) to prevent XXE.

    Grav SVG/XML processing external_entity_loading = disabled

Event History

Jun 23, 2026
CVE Published
via MITRE·12:13 PM
Data Sourced
via MITRE·12:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56701?

The severity of CVE-2026-56701 is medium, rated at 6.5 on the CVSS scale.

2

How do I fix CVE-2026-56701?

To fix CVE-2026-56701, update Grav to version 2.0.0-beta.2 or later.

3

What type of vulnerability is CVE-2026-56701?

CVE-2026-56701 is an XML External Entity (XXE) injection vulnerability.

4

What can attackers do with CVE-2026-56701?

Attackers can exploit CVE-2026-56701 to read arbitrary files on the server by uploading SVG files with malicious payloads.

5

Who is affected by CVE-2026-56701?

Grav users running versions prior to 2.0.0-beta.2 are affected by CVE-2026-56701.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203