---
id: GHSA-32fw-h446-j4hh
title: 'Duplicate Advisory: Grav is Vulnerable to XXE via SVG Upload'
summary: 'Duplicate Advisory: Grav is Vulnerable to XXE via SVG Upload'
severity: high
cvss: 6.5
cwe:
  - CWE-611
vendor: getgrav
product: getgrav/grav
ecosystem: composer
affected:
  - getgrav/grav < 2.0.0-beta.2
patched:
  - getgrav/grav 2.0.0-beta.2
published: '2026-06-23'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T21:27:35Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-32fw-h446-j4hh'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56701'
  - url: >-
      https://www.vulncheck.com/advisories/grav-xml-external-entity-injection-via-svg-upload
  - url: 'https://github.com/advisories/GHSA-32fw-h446-j4hh'
tags:
  - ghsa
  - composer
ingestedAt: '2026-09-23T21:33:13.539Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-3446-6mgw-f79p. This link is maintained to preserve external references.

### Original Description
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.

## Affected packages

- `getgrav/grav < 2.0.0-beta.2`

## Remediation

Upgrade to a patched release:

- `getgrav/grav 2.0.0-beta.2`
