Vulnerability · Published Jun 21, 2026 · Assigned by VulnCheck

CVE-2026-56393Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options

Medium 4.8

In plain English

A medium-severity cross-site scripting in cms from craftcms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.2%top 86.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Craft CMS 4.x (>= 4.0.0-RC1, < 4.17.0-beta.1) and 5.x (>= 5.0.0-RC1, < 5.9.0-beta.1) contain multiple stored cross-site scripting vulnerabilities where settings names and field option labels are rendered without sanitization (e.g., via the checkbox.twig template, which used {{ label|raw }}). An authenticated administrator (with allowAdminChanges enabled) can inject malicious payloads into section names, volume names, user group names, global set names, generated field names, checkbox/radio option labels, and custom source labels, causing arbitrary JavaScript to execute in other users' control-panel sessions. Fixed in 4.17.0-beta.1 and 5.9.0-beta.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistcraftcms/cms5.9.0-beta.1GHSA-4mgv-366x-qxvx
Packagistcraftcms/cms4.17.0-beta.1GHSA-4mgv-366x-qxvx

Affected products (as reported)

VendorProductVersions
craftcms cms 5.0.0-RC1 – before 5.9.0-beta.14.0.0-RC1 – before 4.17.0-beta.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

References