getgrav/grav · Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]`
Affects getgrav/gravSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium : upgrade to 1.8.0-beta.27 when convenient.
Data as of 21 Nov 2026, 03:47 UTC
- Patch
- Available – fixed in 1.8.0-beta.27
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Upgrade getgrav/grav to 1.8.0-beta.27.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistgetgrav/grav | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and the vulnerability is fixed in Grav version 1.8.0-beta.27. Users should upgrade to this version or later to remediate the issue. No additional mitigation steps are required if the patch is applied.
Description
A stored Cross-Site Scripting (XSS) vulnerability exists in the Grav CMS at the /admin/pages/[page] endpoint via the data[header][template] parameter. This flaw allows attackers with admin access to inject malicious JavaScript code into the page's frontmatter, which executes when the page is viewed in the admin interface or frontend. The vulnerability affects versions prior to 1.8.0-beta.27 and has a CVSS 4.0 base score of 6.2 (medium severity).