Advisory record · GHSA-g3hp-vvqf-8vw6

Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page

CVSS 4.6 MediumEPSS 0.0018 · 7th percentile

Published by the GitHub Advisory Database at 11 Mar 2026, 14:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.8.225.8.22
Identifiers
GHSA-g3hp-vvqf-8vw6 · CVE-2026-56381 · PKSA-sc5m-6n1y-h7vz
Weakness (CWE)
CWE-79
Published
11 Mar 2026
Updated
6 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 5.0.0-RC1 up to but not including 5.8.22 are affected by a stored cross-site scripting flaw on the User Permissions page. The user group name is rendered without HTML escaping, so an admin-level user who can set a group name can run JavaScript in the browser of another user who views or edits that user's permissions. Upgrade to Craft CMS 5.8.22. The source notes that the issue relies on `allowAdminChanges` being enabled, which the reader can check and turn off.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.6 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0018, the 7th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 21 Jun 2026, 13:26 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:24 UTC First seen by agentprime
  3. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.