medium5.1
CVE-2026-130734
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.
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content.
Affected products · Getgrav
| Product | Affected versions |
|---|---|
| Grav | from 2.0.0 before 2.2.18 |