XSS in Getgrav Grav
CVE-2026-42611
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, a low-privileged (with the ability to create a page) user can cause XSS with the injection of svg element. The XSS can further be escalated to dump the entire system information available under /admin/config/info whenever a Super Admin visits the page; which can further be chained with the use of admin-nonce to do a complete server compromise (RCE). This vulnerability is fixed in 2.0.0-beta.2.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.9 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H.
EPSS exploit prediction
EPSS: 0.004 (28.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 28.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Getgrav Grav — versions < 2.0.0-beta.2, 2.0.0
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-w8cg-7jcj-4vv2 (Exploit, Patch, Vendor Advisory)
- github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 (Patch)
Frequently asked questions
- What is CVE-2026-42611?
- CVE-2026-42611 is a high-severity vulnerability in Getgrav Grav, classified under Cross-site Scripting. CVSS score: 8.9/10. Published 2026-05-11.
- How severe is CVE-2026-42611?
- High severity. CVSS v3 base score is 8.9 out of 10.