PT-2026-26934 · Packagist · Craftcms/Cms

Publicado

2026-03-11

·

Atualizado

2026-03-11

CVSS v4.0

1.8

Baixa

VetorAV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

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:
html
<img src=x onerror="alert('XSS')" hidden>
  1. Save the user group
  2. Navigate to Users and edit any user (/admin/users/{id})
  3. Click on the Permissions tab
  4. XSS executes

Mitigation

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

References

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

GHSA-G3HP-VVQF-8VW6

Produtos afetados

Craftcms/Cms