CVE-2026-56383
JSON

4.6medium

Craft CMS - Stored XSS in Table Field via Row Heading Column Type

Severity
4.6medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-6j87-m5qx-9fqp

Description

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

Product or packageVersionsReported by
craftcms cmsfrom 4.5.0-beta.1 before 4.16.19, from 5.0.0-RC1 before 5.8.23
Not affected: 4.16.19, 5.8.23
CVE List
craftcms/cms (Packagist)from 4.5.0-beta.1 before 4.16.19, from 5.0.0-RC1 before 5.8.23GitHub Advisory Database

All scores

VulnCheck4.6medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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:
    <img src=x onerror="alert('XSS')">
    
  4. Enable Static Rows
  5. Use the field in any object (e.g., user profile fields) → then visit any user’s profile
  6. Notice the XSS execution

Resources

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

NVD (es)

Craft CMS contiene una vulnerabilidad de cross-site scripting (XSS) almacenado en el componente editableTable.twig al usar el tipo de columna ’Encabezado de Fila’. La aplicación no logra sanear la entrada dentro de los valores predeterminados del encabezado de fila, permitiendo a un atacante con una cuenta de administrador (con allowAdminChanges habilitado) inyectar JavaScript arbitrario que se ejecuta cuando otro usuario ve una página que contiene el campo de tabla afectado. Las versiones afectadas son >= 4.5.0-beta.1 hasta 4.16.18 y >= 5.0.0-RC1 hasta 5.8.22; corregido en 4.16.19 y 5.8.23.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56383 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-6j87-m5qx-9fqp changed 2026-08-06CC-BY-4.0
NVDCVE-2026-56383 changed 2026-10-25Public domain