CVE-2026-42611 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in Grav versions prior to 2.0.0-beta.2. This issue allows a low-privileged user, with the ability to create pages, to inject SVG elements that execute JavaScript. The injected script can be used to exfiltrate sensitive system information from the admin configuration page whenever a Super Admin visits the page. This vulnerability can be further escalated to remote code execution by chaining it with the admin nonce.
Users are advised to update Grav to version 2.0.0-beta.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-w8cg-7jcj-4vv2 | CISA-ADP | ExploitPatchVendor Advisory |
| https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 | [email protected] | Patch |
| https://github.com/getgrav/grav/security/advisories/GHSA-w8cg-7jcj-4vv2 | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| getgrav grav | <= 1.8.0 2.0.0 beta1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 11, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |