CVE-2026-130734 Grav 2.0.0 before 2.2.18 Stored XSS via SVG and XML Media Uploads
- Exploited in the wild
- Not known
- Fix
- 2.2.18
What is CVE-2026-130734?
CVE-2026-130734 is a medium-severity vulnerability in getgrav grav, published on 18 Nov 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-130734?
How do I fix CVE-2026-130734?
Upgrade getgrav grav to 2.2.18 or later. The advisory says that version fixes it.
Is CVE-2026-130734 being exploited?
There is no known exploitation of CVE-2026-130734 in the wild and no public exploit code.
Sources
Also known as GHSA-2rqg-gmwx-8f9j, GHSA-mxwr-773q-23xw.