Cross-site scripting in Grav CMS - CVE-2025-66310
Published: May 5, 2026
Grav CMS
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script in a user's browser.
The vulnerability exists due to cross-site scripting in the /admin/pages/[page] endpoint parameter data[header][template] when handling crafted page update requests. A remote privileged user can submit a specially crafted value in the template field to execute arbitrary script in a user's browser.
User interaction is required for the affected content to be rendered, including in the administrative interface or frontend view.