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

exploitDog

github логотип

GHSA-g3hp-vvqf-8vw6

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

Описание

Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page

Summary

A stored XSS vulnerability exists in the User Permissions page. The User Group name is rendered without proper HTML escaping in the permissions section, allowing an attacker to execute arbitrary JavaScript when another user views or edits a user's permissions.

[!NOTE] This is a separate vulnerability from the previously reported "Stored XSS via User Group Name in User Settings Page" and "Multiple Stored XSS in User Group Edit Page". This affects a different sink: the individual user's permissions page.

Proof of Concept

Required Permissions

Steps to Reproduce

  1. Log in to the control panel as an admin
  2. Navigate to Settings → Users → User Groups
  3. Create or edit a user group and set the Name field to:
    <img src=x onerror="alert('XSS')" hidden>
  4. Save the user group
  5. Navigate to Users and edit any user (/admin/users/{id})
  6. Click on the Permissions tab
  7. XSS executes

Mitigation

Sanitize user group names when rendering in the user permissions template.

References

https://github.com/craftcms/cms-ghsa-4mgv-366x-qxvx/pull/2

Пакеты

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

craftcms/cms

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

>= 5.0.0-RC1, <= 5.8.21

5.8.22

EPSS

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

1.8 Low

CVSS4

Дефекты

CWE-79

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

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

Craft CMS from version 5.0.0-RC1 contains a stored cross-site scripting vulnerability in the User Permissions page where user group names are rendered without proper HTML escaping. Attackers with admin access can inject arbitrary JavaScript via the user group name field that executes when other users view or edit permissions.

EPSS

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

1.8 Low

CVSS4

Дефекты

CWE-79