Read the docs
TI-2026-40880 Aliases CVE-2026-56701GHSA-3446-6mgw-f79p

Grav - XML External Entity Injection via SVG Upload

Priority MEDIUM 64CWE-611Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00305 23rd percentileScored 2026-11-07
Fix Fixed Grav (Grav): 2.0.0-beta.2getgrav/grav (Packagist): 2.0.0-beta.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GravGravbefore 2.0.0-beta.22.0.0-beta.2Patch availableCNA
—getgrav/grav (Packagist)before 2.0.0-beta.22.0.0-beta.2Patch availableGHSA-3446-6mgw-f79p
  • Grav VendorGrav Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available CNA
  • getgrav/grav (Packagist) Vendor— Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available GHSA-3446-6mgw-f79p

Remediation

  • Fix · CNA Grav (Grav) Fixed in 2.0.0-beta.2
  • Fix · GHSA-3446-6mgw-f79p getgrav/grav (Packagist) Fixed in 2.0.0-beta.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-56701
  2. 2026-10-03 Alias added: GHSA-3446-6mgw-f79p

References

  • TI-2026-42219 Grav - Arbitrary File Upload via Avatar Endpoint CVSS 4.0MEDIUM 5.3
  • TI-2026-10325 Stored XSS via missing XSS safety check in Admin2 Pages API partial validation CVSS 4.0MEDIUM 5.1
  • TI-2026-42222 Grav - Stored CSS Injection via Markdown Image resize() Action CVSS 4.0MEDIUM 4.8
  • TI-2026-40879 Grav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command Injection CVSS 4.0CRITICAL 9.3
  • TI-2026-06424 Grav CMS Cache Value FileCache.php doGet deserialization CVSS 4.0LOW 2.3

Sources