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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-611 — Improper Restriction of XML External Entity Reference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Grav | Grav | 0 to <2.0.0-beta.2; 2.0.0-beta.2 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-3446-6mgw-f79p (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-xml-external-entity-injection-via-svg-upload (third-party-advisory)
Generated from the official CVE List on 24 Jun 2026 09:35 UTC.