Cross-site scripting in Craft CMS - #VU139972

 

Cross-site scripting in Craft CMS - #VU139972

Published: July 29, 2026


Vulnerability identifier: #VU139972
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
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 JavaScript in a higher-privileged user's control-panel session.

The vulnerability exists due to cross-site scripting in the control-panel helper that renders element chip/card labels when rendering an element's draft name without HTML encoding. A remote user can create a draft with a crafted draft name to execute arbitrary JavaScript in a higher-privileged user's control-panel session.

User interaction is required because a higher-privileged control-panel user must be shown the affected element's chip or card in the control panel.


Affected software

Craft CMS

Remediation

Install security update from vendor's website.

Craft CMS - update to 5.10.8

External References

Related Security Bulletins