Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6j87-m5qx-9fqp

Опубликовано: 25 фев. 2026
Источник: github
Github: Прошло ревью
CVSS4: 2.3

Описание

Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type

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 SettingsFields 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

Пакеты

Наименование

craftcms/cms

composer
Затронутые версииВерсия исправления

>= 4.5.0-beta.1, <= 4.16.18

4.16.19

Наименование

craftcms/cms

composer
Затронутые версииВерсия исправления

>= 5.0.0-RC1, <= 5.8.22

5.8.23

EPSS

Процентиль: 23%
0.00309
Низкий

2.3 Low

CVSS4

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 4.8
nvd
3 месяца назад

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.

EPSS

Процентиль: 23%
0.00309
Низкий

2.3 Low

CVSS4

Дефекты

CWE-79