NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-56383: Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type

lowCVSS 4.0 2.3GHSA-6j87-m5qx-9fqp

A stored Cross-site Scripting (XSS) vulnerability exists in the editableTable.twig component when using the Row Heading column type. The application fails to sanitize input within row headings, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field.

Published Feb 25, 2026 · Updated Aug 6, 2026

Affected packages

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 4.5.0-beta.1, <= 4.16.18
Fixed in
4.16.19
Check
composer show craftcms/cms

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 5.0.0-RC1, <= 5.8.22
Fixed in
5.8.23
Check
composer show craftcms/cms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A stored Cross-site Scripting (XSS) vulnerability exists in the editableTable.twig component when using the Row Heading column type. The application fails to sanitize input within row headings, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field.

Prerequisites

Steps to Reproduce

  1. Navigate to Settings → Fields and create a new field with Type: Table
  2. Add a Column Heading and set Column Type to Row Heading
  3. In Default Values section, add a row with the following payload: ```html
1. Enable `Static Rows`
1. Use the field in any object (e.g., user profile fields) → then visit any user’s profile
1. Notice the XSS execution

## Resources

https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a

Credited to mHe4am.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries