CVE-2026-56383Craft CMS - Stored XSS in Table Field via Row Heading Column Type
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Packagist library | craftcms/cms | Fixed | 5.8.23 | GHSA-6j87-m5qx-9fqp |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- craftcms cms: affected: 4.5.0-beta.1 to before 4.16.19, 4.16.19 not affected, 5.0.0-RC1 to before 5.8.23, 5.8.23 not affected; fixed in
4.16.19,5.8.23
Vendor advisories:
- https://github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp (vendor-advisory)
- https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a (patch)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp
- https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a
- https://www.vulncheck.com/advisories/craft-cms-stored-xss-in-table-field-via-row-heading-column-type
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.