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

exploitDog

github логотип

GHSA-3wxg-w96j-8hq9

Опубликовано: 26 мая 2023
Источник: github
Github: Прошло ревью
CVSS3: 3.7

Описание

CraftCMS stored XSS in Quick Post widget error message

Summary

The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload.

Details

Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save.

PoC

  1. Login at admin

  2. Go to setting

  3. Create a Section

  4. On Entry page, click Edit label

  5. Inject the XSS payload into the label and save

  6. On the admin dashboard choose new widget -> Quick Post

  7. In Quick Post, click save with blank slug; The XSS will be executed

    "errors":{"title":[" cannot be blank."],"slug":["Slug cannot be blank."]

Fixed in https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888

Пакеты

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

craftcms/cms

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

>= 4.0.0-RC1, < 4.4.6

4.4.6

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

craftcms/cms

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

>= 3.0.0, <= 3.8.5

3.8.6

EPSS

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

3.7 Low

CVSS3

Дефекты

CWE-79
CWE-80

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

CVSS3: 3.7
nvd
больше 2 лет назад

Craft is a CMS for creating custom digital experiences on the web.The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was patched in version 4.4.6.

EPSS

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

3.7 Low

CVSS3

Дефекты

CWE-79
CWE-80