{"id":"CVE-2025-66310","published":"2025-12-01T22:04:09Z","modified":"2025-12-02T16:03:14Z","title":"Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]`…","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a Stored Cross-Site Scripting (XSS) vulnerability was identified in the /admin/pages/[page] endpoint of the Grav application. This vulnerability allows attackers to inject malicious scripts into the data[header][template] parameter. The script is saved within the page's frontmatter and executed automatically whenever the affected content is rendered in the administrative interface or frontend view. This vulnerability is fixed in 1.11.0-beta.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00229,"percentile":0.13999,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-7g78-5g5g-mvfj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav-plugin-admin/commit/99f653296504f1d6408510dd2f6f20a45a26f9b0","tags":["x_refsource_MISC"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.8},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.11.0-beta.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T16:03:09.485554Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.8.0-beta.27"],"patched":["1.8.0-beta.27"],"from":["GHSA-7g78-5g5g-mvfj"],"provenance":"source"}],"summary":{"text":"The Grav admin plugin (getgrav/grav) contains a stored cross-site scripting flaw in the /admin/pages/[page] endpoint, where the data[header][template] parameter is not properly neutralised before being saved into a page's frontmatter. An attacker with high-privilege authenticated access and user interaction (the script executes when the affected content is rendered in the admin interface or frontend) can inject malicious script that persists and runs in the context of whoever views the page, with network access required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:02Z"},"euvd":{"id":"EUVD-2025-200100","exploited":false,"provenance":"source"}}