CVE-2026-130734 PUBLISHED

Grav 2.0.0 before 2.2.18 Stored XSS via SVG and XML Media Uploads

Assigner: VulnCheck
Reserved: 17.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.1

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 2.0.0 to 2.2.18 (excl.)
  • Version 2.2.18 is unaffected

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE