Advisory record · GHSA-3446-6mgw-f79p

Grav is Vulnerable to XXE via SVG Upload

CVSS 7.1 HighEPSS 0.0031 · 23rd percentile

Published by the GitHub Advisory Database at 5 May 2026, 21:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<2.0.0-beta.22.0.0-beta.2
Identifiers
GHSA-3446-6mgw-f79p · CVE-2026-56701 · PKSA-59xg-9744-g5wz
Weakness (CWE)
CWE-611
Published
5 May 2026
Updated
23 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Grav (getgrav/grav) versions before 2.0.0-beta.2 are affected by an XML External Entity (XXE) injection flaw in SVG upload processing, where the source says the parser was not prevented from loading external entities. An authenticated attacker with admin panel access who uploads a crafted SVG could read arbitrary files from the server and may also be able to make server-side requests. The fix is in 2.0.0-beta.2, so upgrade to that version or later; the maintainer note says the change also strips DOCTYPE and ENTITY declarations and updates the dom-sanitizer library.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0031, the 23rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:54 UTC First seen by agentprime
  2. 31 Oct 2026, 13:54 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.