CVE-2026-42611
HIGH 8.9CVSS 3.1Grav is Vulnerable to Stored XSS via Tag Injection
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.
- Published
- 11 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-w8cg-7jcj-4vv2
- Sources
- NVDJSONOSV GHSA-w8cg-7jcj-4vv2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
<= 1.8.0 | |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Packagist | getgrav/grav | < 2.0.0-beta.2 | 2.0.0-beta.2 |
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 · Patch, WEB
- https://github.com/getgrav/grav/security/advisories/GHSA-w8cg-7jcj-4vv2 · Exploit, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42611 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)