CVE-2026-56381
Medium
Description
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.
SeverityMedium
CVSS4.8
Exploit probability—
ProductCraftcms/cms
PublishedJun 21, 2026
First seenJun 21, 2026
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- craftcms/cms5.8.22 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms/cmsPackagist | 5.0.0-RC1 ≤ v < 5.8.22 | 5.8.22 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.