Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. GHSA-g3hp-vvqf-8vw6

GHSA-g3hp-vvqf-8vw6: Craft CMS Vulnerable to Stored XSS via User Group Name in User Permissions Page

March 11, 2026

A stored XSS vulnerability exists in the User Permissions page. The User Group name is rendered without proper HTML escaping in the permissions section, allowing an attacker to execute arbitrary JavaScript when another user views or edits a user’s permissions.

[!NOTE] This is a separate vulnerability from the previously reported “Stored XSS via User Group Name in User Settings Page” and “Multiple Stored XSS in User Group Edit Page”. This affects a different sink: the individual user’s permissions page.

References

  • github.com/advisories/GHSA-g3hp-vvqf-8vw6
  • github.com/craftcms/cms
  • github.com/craftcms/cms/releases/tag/5.8.22
  • github.com/craftcms/cms/security/advisories/GHSA-g3hp-vvqf-8vw6

Code Behaviors & Features

Detect and mitigate GHSA-g3hp-vvqf-8vw6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0-RC1 before 5.8.22

Fixed versions

  • 5.8.22

Solution

Upgrade to version 5.8.22 or above.

Impact 2.4 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/craftcms/cms/GHSA-g3hp-vvqf-8vw6.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:15 +0000.