Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56393: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms cms

0
Medium
VulnerabilityCVE-2026-56393cvecve-2026-56393
Published: 06/21/2026 (06/21/2026, 13:27:01 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

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.

CVSS v4.0

Score 4.6medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Affected software

GitHub Actionsmore threats →ai
craftcms/cms
pkg:github/craftcms/cms
Affected versions
=4.17.0-beta.1=5.9.0-beta.1=4.0.0-RC1=5.0.0-RC1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/21/2026, 14:09:53 UTC

Technical Analysis

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) have multiple stored cross-site scripting vulnerabilities due to improper neutralization of input during web page generation. Specifically, settings names and field option labels are rendered without sanitization (e.g., via the checkbox.twig template using {{ label|raw }}), enabling an authenticated administrator with allowAdminChanges enabled to inject malicious JavaScript into various UI elements such as section names, volume names, user group names, global set names, generated field names, checkbox/radio option labels, and custom source labels. This results in arbitrary JavaScript execution in other users' control panel sessions. The issue is fixed in versions 4.17.0-beta.1 and 5.9.0-beta.1.

Potential Impact

An authenticated administrator with allowAdminChanges enabled can inject malicious JavaScript payloads into multiple UI elements, causing arbitrary script execution in other users' control panel sessions. This could lead to session hijacking, unauthorized actions, or other impacts associated with stored cross-site scripting in the administrative interface. The vulnerability requires high privileges (administrator) and user interaction (authenticated users accessing the control panel).

Mitigation Recommendations

Fixed versions are available starting from 4.17.0-beta.1 and 5.9.0-beta.1. Users should upgrade to these or later versions to remediate the vulnerability. Since this is not a cloud service, patching the affected software is required. There is no vendor advisory content provided to indicate alternative mitigations or temporary fixes. Patch status is not explicitly confirmed beyond the fixed versions stated; therefore, verify with the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-21T12:37:58.434Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a37ed4baaf2dc2701b2276e

Added to database: 06/21/2026, 13:55:23 UTC

Last enriched: 06/21/2026, 14:09:53 UTC

Last updated: 06/21/2026, 14:57:10 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses