Duplicate Advisory: Grav is Vulnerable to XXE via SVG Upload
Grav versions before 2.0.0-beta.2 are affected by an XML External Entity (XXE) injection vulnerability in the SVG file upload functionality. This flaw allows authenticated attackers to read arbitrary files on the server by exploiting improper handling of XML entities in SVG files. The vulnerability arises because the application uses simplexml_load_string without disabling external entity loading. A patch is available to address this issue.
AI Analysis
Technical Summary
Grav prior to version 2.0.0-beta.2 contains an XXE vulnerability in its SVG upload processing. The vulnerability is due to the use of simplexml_load_string without disabling external entity loading, which enables authenticated attackers to inject malicious XML payloads via SVG files. This can lead to arbitrary file disclosure on the affected system. The vulnerability is tracked as CWE-611 and has a CVSS 3.1 base score of 6.5, indicating a high severity impact primarily on confidentiality. No known exploits in the wild have been reported. A patch is available to remediate this issue.
Potential Impact
An authenticated attacker can exploit this vulnerability to read arbitrary files on the server hosting Grav by uploading specially crafted SVG files containing malicious XML external entity payloads. This compromises confidentiality but does not affect integrity or availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Grav to version 2.0.0-beta.2 or later to remediate the issue. Until patched, avoid uploading untrusted SVG files or restrict SVG upload functionality to trusted users only.
Duplicate Advisory: Grav is Vulnerable to XXE via SVG Upload
Description
Grav versions before 2.0.0-beta.2 are affected by an XML External Entity (XXE) injection vulnerability in the SVG file upload functionality. This flaw allows authenticated attackers to read arbitrary files on the server by exploiting improper handling of XML entities in SVG files. The vulnerability arises because the application uses simplexml_load_string without disabling external entity loading. A patch is available to address this issue.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Grav prior to version 2.0.0-beta.2 contains an XXE vulnerability in its SVG upload processing. The vulnerability is due to the use of simplexml_load_string without disabling external entity loading, which enables authenticated attackers to inject malicious XML payloads via SVG files. This can lead to arbitrary file disclosure on the affected system. The vulnerability is tracked as CWE-611 and has a CVSS 3.1 base score of 6.5, indicating a high severity impact primarily on confidentiality. No known exploits in the wild have been reported. A patch is available to remediate this issue.
Potential Impact
An authenticated attacker can exploit this vulnerability to read arbitrary files on the server hosting Grav by uploading specially crafted SVG files containing malicious XML external entity payloads. This compromises confidentiality but does not affect integrity or availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Grav to version 2.0.0-beta.2 or later to remediate the issue. Until patched, avoid uploading untrusted SVG files or restrict SVG upload functionality to trusted users only.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-32fw-h446-j4hh
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ab4be99f7a7c54106f0dfa7
Added to database: 09/24/2026, 06:09:29 UTC
Last enriched: 09/24/2026, 07:00:38 UTC
Last updated: 09/25/2026, 05:47:33 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.