Advisory

GHSA-3x4w-mxpf-fhqq

Also known as: CVE-2026-33051

Summary

Craft CMS Vulnerable to Stored XSS in Revision Context Menu

Details

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.

Users should update to Craft 5.9.11 with the patch to mitigate the issue.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-18 12:58 UTC
Modified
2026-03-20 21:35 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.9.0-beta.1, fixed 5.9.11 (ecosystem)

Fixed versions

5.9.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences