---
id: CVE-2026-56381
title: Craft CMS - Stored XSS via User Group Name in User Permissions Page
summary: >-
  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
  JavaScr…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: craftcms
product: cms
affected:
  - cms >= 5.0.0-RC1 < 5.8.22
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-23T02:48:06.956002Z'
exploitAvailable: true
published: '2026-06-21'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:06:07.786Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56381'
references:
  - url: 'https://github.com/craftcms/cms/security/advisories/GHSA-g3hp-vvqf-8vw6'
    label: GitHub Security Advisory (GHSA-g3hp-vvqf-8vw6)
  - url: >-
      https://www.vulncheck.com/advisories/craft-cms-stored-xss-via-user-group-name-in-user-permissions-page
    label: >-
      VulnCheck Advisory: Craft CMS - Stored XSS via User Group Name in User
      Permissions Page
tags:
  - cve.org
  - exploit-available
epss: 0.00181
epssPercentile: 0.07712
ingestedAt: '2026-11-08T14:51:22.350Z'
---

## Overview

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.

## Affected

- `cms >= 5.0.0-RC1 < 5.8.22`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
