CVE-2026-33051 Craft CMS Vulnerable to Stored XSS in Revision Context Menu

Medium 5.3 Published Updated

Low-privileged users can inject scripts via profile names to escalate privileges to administrator in Craft CMS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-33051?

CVE-2026-33051 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-33051?

2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.

PackageAffectedFixed in
craftcms/cms PackagistFrom 5.9.0-beta.15.9.11
craftcms/cms PackagistFrom 5.9.0-beta.15.9.11

Products include Craftcms Craft Cms.

How do I fix CVE-2026-33051?

Upgrade craftcms/cms to 5.9.11 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-33051 being exploited?

There is no known exploitation of CVE-2026-33051 in the wild and no public exploit code.

All Craftcms Craft Cms vulnerabilities

Sources

Also known as GHSA-3x4w-mxpf-fhqq.

Is CVE-2026-33051 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free