Advisory record · GHSA-7g78-5g5g-mvfj

Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]` in Advanced Tab

CVSS 6.2 MediumEPSS 0.0023 · 13th percentile

Published by the GitHub Advisory Database at 2 Dec 2025, 01:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<1.8.0-beta.271.8.0-beta.27
Identifiers
GHSA-7g78-5g5g-mvfj · CVE-2025-66310 · PKSA-6ybw-qvkx-41s3
Weakness (CWE)
CWE-79
Published
2 Dec 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Grav versions before 1.8.0-beta.27 are vulnerable to stored cross-site scripting through the data[header][template] parameter of the /admin/pages/[page] endpoint, which is saved in the page's frontmatter and then rendered in the admin panel or frontend. An attacker who can save page settings in the admin panel can inject script that runs in the browser of anyone who views the affected page, which could allow session theft or actions taken as that user. The fix is in 1.8.0-beta.27, so upgrade Grav to that version or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.2 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0023, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:03 UTC First seen by agentprime
  2. 31 Oct 2026, 14:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.