Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. GHSA-4mgv-366x-qxvx

GHSA-4mgv-366x-qxvx: Craft CMS Vulnerable to Stored XSS in Settings Names and Field Options

March 3, 2026 (updated August 6, 2026)

Stored XSS in multiple settings. Names/labels are rendered without sanitization via checkbox.twig template which uses {{ label|raw }}.


References

  • github.com/advisories/GHSA-4mgv-366x-qxvx
  • github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2
  • github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276
  • github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx
  • nvd.nist.gov/vuln/detail/CVE-2026-56393
  • www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-options

Code Behaviors & Features

Detect and mitigate GHSA-4mgv-366x-qxvx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.17.0-beta.1, all versions starting from 5.0.0-RC1 before 5.9.0-beta.1

Fixed versions

  • 4.17.0-beta.1
  • 5.9.0-beta.1

Solution

Upgrade to versions 4.17.0-beta.1, 5.9.0-beta.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/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-4mgv-366x-qxvx.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:29 +0000.