craftcms/cms · Duplicate Advisory: Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page
Affects craftcms/cmsSource GCVE Database
CVSS 4.8 Medium.
Data as of 7 Aug 2026, 07:01 UTC
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistcraftcms/cms | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is applied, restrict administrative access to trusted users only and consider monitoring for suspicious activity related to user group name changes.
Description
Craft CMS version 5.0.0-RC1 contains a stored cross-site scripting (XSS) vulnerability in the User Permissions page. The vulnerability arises because user group names are rendered without proper HTML escaping. An attacker with administrative privileges can inject arbitrary JavaScript code via the user group name field, which executes when other users view or edit permissions. This advisory is a duplicate and has been withdrawn in favor of GHSA-g3hp-vvqf-8vw6.