XSS in Getgrav Grav
CVE-2026-74908
Grav plugin-api before 1.0.15 contains a script injection vulnerability where the SVG sanitizer only checks for the exact extension 'svg', allowing .svgz and .xhtml files to bypass sanitization and be stored unsanitized. Attackers with api.media.write permission can upload files containing executable script payloads that execute in the site origin when accessed by administrators or visitors.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (15.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-66xf-ggf4-6hmc (vendor-advisory)
- www.vulncheck.com/advisories/grav-plugin-api-before-script-injection-via-svg (third-party-advisory)
Frequently asked questions
- What is CVE-2026-74908?
- CVE-2026-74908 is a medium-severity vulnerability in Getgrav Grav, classified under Cross-site Scripting. CVSS score: 4.6/10. Published 2026-08-18.
- How severe is CVE-2026-74908?
- Medium severity. CVSS v3 base score is 4.6 out of 10.