Stored Cross-site Scripting Vulnerability in Craft CMS
CVE-2026-27126
What is CVE-2026-27126?
Craft CMS versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 are vulnerable to a stored Cross-site Scripting (XSS) attack via the editableTable.twig component when the html column type is used. The vulnerability arises from insufficient input sanitization, enabling an attacker with administrative privileges to inject arbitrary JavaScript code into a table field. This malicious code executes when other users view pages containing the compromised table. For proper security practices, it is advised to ensure allowAdminChanges is disabled in production environments. Users are encouraged to upgrade to versions 4.16.19 and 5.8.23 which provide necessary patches.
Affected Version(s)
cms >= 4.5.0-RC1, < 4.16.19 < 4.5.0-RC1, 4.16.19
cms >= 5.0.0-RC1, < 5.8.23 < 5.0.0-RC1, 5.8.23
