medium4.8
CVE-2026-56383
Craft CMS contains a stored cross-site scripting (XSS) vulnerability in the editableTable.twig component when using the 'Row Heading' column type.
Impact
Craft CMS contains a stored cross-site scripting (XSS) vulnerability in the editableTable.twig component when using the 'Row Heading' column type. The application fails to sanitize input within row heading default values, allowing an attacker with an administrator account (with allowAdminChanges enabled) to inject arbitrary JavaScript that executes when another user views a page containing the affected table field. Affected versions are >= 4.5.0-beta.1 through 4.16.18 and >= 5.0.0-RC1 through 5.8.22; fixed in 4.16.19 and 5.8.23.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | craftcms/cms | >= 4.5.0-beta.1, <= 4.16.18 | 4.16.19 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a
- https://github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp
- https://www.vulncheck.com/advisories/craft-cms-stored-xss-in-table-field-via-row-heading-column-type
- https://github.com/advisories/GHSA-6j87-m5qx-9fqp
- https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
- https://github.com/craftcms/cms/releases/tag/4.16.19
- https://github.com/craftcms/cms/releases/tag/5.8.23
- https://nvd.nist.gov/vuln/detail/CVE-2026-56383