craftcms/cms · Duplicate Advisory: Craft CMS Vulnerable to Stored XSS in Settings Names and Field Options
Affects craftcms/cmsSource GCVE Database
CVSS 4.8 Medium · fixed in 4.17.0 : update craftcms/cms when convenient.
Data as of 7 Aug 2026, 07:01 UTC
- Patch
- Available – fixed in 4.17.0
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistcraftcms/cms | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Craft CMS to version 4.17.0-beta.1 or later for the 4.x branch, or to version 5.9.0-beta.1 or later for the 5.x branch, where the stored XSS vulnerabilities have been fixed. No other mitigations are indicated by the advisory.
Description
Craft CMS versions 4.x (from 4.0.0-RC1 up to but not including 4.17.0-beta.1) and 5.x (from 5.0.0-RC1 up to but not including 5.9.0-beta.1) contain multiple stored cross-site scripting (XSS) vulnerabilities. These vulnerabilities arise because settings names and field option labels are rendered without proper sanitization, allowing an authenticated administrator with allowAdminChanges enabled to inject malicious JavaScript payloads. This can lead to arbitrary script execution in other users' control-panel sessions. The issue is fixed in versions 4.17.0-beta.1 and 5.9.0-beta.1.
References
- github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-56393 (opens in a new tab)
- github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2 (opens in a new tab)
- github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276 (opens in a new tab)
- vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-options (opens in a new tab)