{"id":"CVE-2025-66310","summary":"Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]` in Advanced Tab","details":"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.","aliases":["GHSA-7g78-5g5g-mvfj"],"modified":"2026-08-12T03:51:13.735683420Z","published":"2025-12-01T22:04:09.187Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66310.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66310.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-7g78-5g5g-mvfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66310"},{"type":"FIX","url":"https://github.com/getgrav/grav-plugin-admin/commit/99f653296504f1d6408510dd2f6f20a45a26f9b0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav-plugin-admin","events":[{"introduced":"0"},{"fixed":"99f653296504f1d6408510dd2f6f20a45a26f9b0"}],"database_specific":{"cpe":"cpe:2.3:a:getgrav:grav-plugin-admin:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.10.50"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.10.0-rc.20","1.10.0-rc.19","1.10.0-rc.18","1.10.0-rc.17","1.10.0-rc.16","1.10.0-rc.15","1.10.0-rc.14","1.10.0-rc.13","1.10.0-rc.12","1.10.0-rc.11","1.10.0-rc.10","1.10.0-rc.9","1.10.0-rc.8","1.10.0-rc.7","1.10.0-rc.6","1.10.0-rc.5","1.10.0-rc.4","1.10.0-rc.3","1.10.0-rc.2","1.10.0-rc.1","1.10.0-beta.10","1.10.0-beta.9","1.10.0-beta.8","1.10.0-beta.7","1.10.0-beta.6","1.10.0-beta.5","1.10.0-beta.4","1.10.0-beta.3","1.10.0-beta.2","1.10.0-beta.1","1.7.1","1.7.0","1.6.7","1.6.6","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.2","1.5.1","1.5.0","1.4.2","1.4.1","1.4.0","1.3.3","1.3.2","1.3.1","1.3.0","1.2.14","1.2.13","1.2.12","1.2.5-rc.4","1.2.5-rc.3","1.2.5-rc.2","1.2.5-rc.1","1.2.0-rc.2","1.2.0-rc.1","1.1.0-rc.4","1.1.0-rc.3","1.1.0-rc.2","1.1.0-rc.1","1.1.0-beta.5","1.1.0-beta.4","1.1.0-beta.3","1.1.0-beta.2","1.1.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66310.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}