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-33051: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms cms

0
Medium
VulnerabilityCVE-2026-33051cvecve-2026-33051cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 05:56:02 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

Craft CMS is a content management system (CMS). In versions 5.9.0-beta.1 through 5.9.10, the revision/draft context menu in the element editor renders the creator’s fullName as raw HTML due to the use of Template::raw() combined with Craft::t() string interpolation. A low-privileged control panel user (e.g., Author) can set their fullName to an XSS payload via the profile editor, then create an entry with two saves. If an administrator is logged in and executes a specifically crafted payload while an elevated session is active, the attacker’s account can be elevated to administrator. This issue has been fixed in version 5.9.11.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/27/2026, 19:08:12 UTC

Technical Analysis

The vulnerability CVE-2026-33051 affects Craft CMS, a popular content management system, specifically versions from 5.9.0-beta.1 up to but not including 5.9.11. The flaw is a cross-site scripting (XSS) issue categorized under CWE-79, caused by improper neutralization of input during web page generation. In the element editor's revision/draft context menu, the creator's fullName is rendered as raw HTML using Template::raw() combined with Craft::t() string interpolation. This allows a low-privileged user, such as an Author, to inject malicious JavaScript by setting their fullName to an XSS payload via the profile editor. After creating an entry with two saves, if an administrator is logged in and has an active elevated session, the attacker’s payload executes in the admin’s browser context. This can lead to privilege escalation, effectively elevating the attacker’s account to administrator level without requiring admin interaction beyond being logged in. The vulnerability does not require user interaction from the administrator and can be exploited remotely over the network. The CVSS 4.0 base score is 5.3, reflecting medium severity with network attack vector, low attack complexity, no privileges required beyond low-level user, and no user interaction needed. The issue was publicly disclosed on March 20, 2026, and fixed in Craft CMS version 5.9.11. No known exploits have been reported in the wild as of the publication date.

Potential Impact

This vulnerability poses a significant risk to organizations using affected versions of Craft CMS, as it enables privilege escalation from a low-privileged user to an administrator. Successful exploitation can compromise the confidentiality, integrity, and availability of the CMS and its hosted content. Attackers gaining admin privileges can modify or delete content, inject malicious code site-wide, steal sensitive data, or disrupt services. Since Craft CMS is used by various organizations for website management, including businesses, educational institutions, and government entities, the impact can be broad. The attack requires the attacker to have at least low-level access to the control panel, so insider threats or compromised low-privilege accounts are primary risk vectors. The vulnerability can facilitate persistent backdoors or further lateral movement within the organization’s infrastructure. Although no exploits are currently known in the wild, the ease of exploitation and potential damage warrant urgent remediation to prevent future attacks.

Mitigation Recommendations

Organizations should immediately upgrade Craft CMS installations to version 5.9.11 or later, where the vulnerability is patched. Until upgrade is possible, restrict low-privileged user capabilities to prevent profile modifications that include HTML or script content in the fullName field. Implement strict input validation and sanitization on user profile fields to block injection of HTML or JavaScript. Monitor logs for suspicious profile changes or repeated entry saves by low-privileged users. Limit concurrent administrative sessions and consider implementing multi-factor authentication (MFA) for admin accounts to reduce risk of session hijacking. Employ Content Security Policy (CSP) headers to mitigate impact of potential XSS payloads. Conduct regular audits of user roles and permissions to ensure minimal necessary privileges. Educate administrators to log out when not actively managing the CMS to reduce exposure window. Finally, maintain up-to-date backups to recover from potential compromises.

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
GitHub_M
Date Reserved
2026-03-17T18:10:50.212Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bce490e32a4fbe5f3388a9

Added to database: 3/20/2026, 6:09:20 AM

Last enriched: 3/27/2026, 7:08:12 PM

Last updated: 5/4/2026, 3:18:31 AM

Views: 63

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