Loading advisory.
Loading advisory.
Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page
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.
Published 2026-03-11 14:56 UTC · Modified 2026-11-08 14:06 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| craftcms/cms | Packagist | >= 5.0.0-RC1, < 5.8.22 versions 5.0.0, 5.0.0-RC1, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.1.0, 5.1.1, 5.1.10, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.1.7, 5.1.8, 5.1.9, 5.2.0 and 123 more | 5.8.22 | composer require 'craftcms/cms:>=5.8.22' |
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.
Admin access
allowAdminChanges is enabled in production, which is against our security recommendations.
Log in to the control panel as an admin
Navigate to Settings → Users → User Groups
Create or edit a user group and set the Name field to:
<img src=x onerror="alert('XSS')" hidden>Save the user group
Navigate to Users and edit any user (/admin/users/{id})
Click on the Permissions tab
XSS executes
Sanitize user group names when rendering in the user permissions template.
https://github.com/craftcms/cms-ghsa-4mgv-366x-qxvx/pull/2
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.002 | v2026.06.15 |