Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled.
This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with data-mce-object and data-mce-p-* attributes are properly sanitized.
No official workaround available.
To avoid this vulnerability:
Tiny thanks Aymane MAZGUITI and Ange Primiterra for their help identifying this vulnerability.
{
"github_reviewed": true,
"github_reviewed_at": "2026-06-05T20:29:43Z",
"nvd_published_at": "2026-05-28T16:16:28Z",
"severity": "HIGH",
"cwe_ids": [
"CWE-79"
]
}