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

Published Jun 21, 2026
·
Updated

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 Software

1 affected component
Pixel & Tonic Craft CMS>=4.0.0-RC1<4.17.0-beta.1, >=5.0.0-RC1<5.9.0-beta.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 4.17.0-beta.1
  2. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 5.9.0-beta.1
  3. Configuration

    Set allowAdminChanges to false (disable allowAdminChanges) to prevent authenticated administrators from making settings/field option changes that could be used to inject stored XSS payloads.

    Craft CMS allowAdminChanges = false

Event History

Jun 21, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56393?

The severity of CVE-2026-56393 is classified as medium with a score of 4.8.

2

How do I fix CVE-2026-56393?

To fix CVE-2026-56393, upgrade Craft CMS to version 4.17.0-beta.1 or later for 4.x, and 5.9.0-beta.1 or later for 5.x.

3

What type of vulnerability is CVE-2026-56393?

CVE-2026-56393 is classified as a stored cross-site scripting (XSS) vulnerability affecting Craft CMS.

4

What systems are affected by CVE-2026-56393?

CVE-2026-56393 affects Craft CMS versions 4.x prior to 4.17.0-beta.1 and 5.x prior to 5.9.0-beta.1.

5

What are the potential impacts of CVE-2026-56393?

The potential impacts of CVE-2026-56393 include unauthorized script execution and possible data theft or session hijacking.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203