Cross-site scripting in Grav CMS - CVE-2025-66308

 

Cross-site scripting in Grav CMS - CVE-2025-66308

Published: May 5, 2026


Vulnerability identifier: #VU130059
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2025-66308
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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/config/site endpoint parameter data[taxonomies] when processing crafted site configuration input. A remote privileged user can submit a specially crafted POST request to execute arbitrary script in a user's browser.

User interaction is required for a user to access the affected configuration or related administrative interface where the stored payload is rendered.


Affected software

Grav CMS

How to mitigate CVE-2025-66308

Install security update from vendor's website.

Grav CMS - update to 1.7.49

External References

Related Security Bulletins