CVE-2026-130734
Grav 2.0.0 before 2.2.18 Stored XSS via SVG and XML Media Uploads
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.36% (p31)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-19
- Product
- getgrav grav
- Aliases
- GHSA-mxwr-773q-23xw
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
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.
Fixed in
2.2.18
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | grav | >=2.0.0, <2.2.18 | 2.2.18 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use