CVE-2026-130734 Details
Description
Grav from 2.0.0 before 2.2.18 contains a stored cross-site scripting vulnerability that allows users with media upload rights to bypass the upload sanitizer. Attackers can upload SVG files with inner extensions like .svg.defaults, payloads that crash the fail-open sanitizer, or unblocked .xml/.xhtm files to run script when administrators open the raw file URL.
A stored cross-site scripting vulnerability has been identified in Grav versions 2.0.0 prior to 2.2.18. This vulnerability allows users with media upload rights to bypass the upload sanitizer. Attackers can exploit this by uploading SVG files with inner extensions like .svg.defaults, or unblocked .xml/.xhtm files. When administrators access the raw file URL, the uploaded scripts are executed.
Users can update to Grav version 2.2.18, where this vulnerability has been fixed. Additionally, the Form plugin should be updated to version 9.1.38 and the API plugin to version 1.1.6. For sites that attach XML files, 'xml' can be removed from 'uploads_dangerous_extensions' in the security configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-mxwr-773q-23xw | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, <= 2.2.17 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion