Cross-site scripting in Craft CMS - #VU134656

 

Cross-site scripting in Craft CMS - #VU134656

Published: June 16, 2026


Vulnerability identifier: #VU134656
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pixel & Tonic, Inc.
Affected software:
Craft CMS

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary script in a victim's browser.

The vulnerability exists due to cross-site scripting in the _includes/forms/checkbox.twig template when rendering stored settings names and field option labels. A remote user can inject a crafted name or label value to execute arbitrary script in a victim's browser.

Exploitation requires administrative access, and the issue is exposed when allowAdminChanges is enabled in production. Some cases also require a victim to visit affected control panel pages where the stored value is rendered.


Remediation

Install security update from vendor's website.

Sources