Skip to main content
VulnerabilityPublished Updated

craftcms/cms · Duplicate Advisory: Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page

Affects craftcms/cmsSource GCVE Database

0

CVSS 4.8 Medium.

Data as of 7 Aug 2026, 07:01 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

What to do

Affected software

ProductAffectedFixed in
Packagistcraftcms/cmsAffected
  • >=5.0.0-RC1 <=5.8.21
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.

References

Community reviews

Loading reviews…