CVE-2026-47759

TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes

Published May 28, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
TinyMCE is an open source rich text editor. Prior to 5.11.1, 7.9.3, and 8.5.1, there is a stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.

Analysis

AI-generated

Technical impact

TinyMCE, a widely used open‑source rich text editor, contains a stored XSS flaw that allows attackers to embed malicious code by injecting data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). When content is saved, the editor serializes these attributes without proper filtering, allowing an attacker to override safe attributes during rendering. The vulnerability can lead to arbitrary JavaScript execution in the user's browser, exposing session data and enabling further attacks. It is a CWE‑79 weakness.

Affected Systems

The issue affects the tinymce TinyMCE editor. Versions prior to 5.11.1, 7.9.3, and 8.5.1 are vulnerable. No version information beyond the release numbers is available. Organizations deploying any of these affected releases should verify their installation and plan for an upgrade.

Risk and Exploitability

The flaw has a CVSS score of 8.7, indicating severe impact. EPSS data is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector is a web‑based stored XSS; an attacker must inject malicious data-mce-* attributes into content that is later served to other users. Successful exploitation requires write access to the editor content and that the rendered page allows script execution. Because the flaw bypasses input sanitization, it is immediately exploitable if the content is loaded in a browser, making it a high‑risk vulnerability for any application that relies on TinyMCE to handle untrusted input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TinyMCE to version 5.11.1, 7.9.3, or 8.5.1 or later
  • If an upgrade is not immediately possible, configure TinyMCE to strip or disable data-mce-* attributes during serialization
  • Apply server‑side sanitization to remove or escape data-mce-* attributes before rendering content
  • Review application code to ensure untrusted editor content is not rendered without proper sanitization
  • Monitor incoming editor content for attempts to inject data-mce-* attributes and investigate accordingly

Generated by OpenCVE AI on May 28, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q742-qvgc-gc2f TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tiny
Tiny tinymce
CPEs cpe:2.3:a:tiny:tinymce:*:*:*:*:*:*:*:*
Vendors & Products Tiny
Tiny tinymce
Type Values Removed Values Added
First Time appeared Tinymce
Tinymce tinymce
Vendors & Products Tinymce
Tinymce tinymce
Type Values Removed Values Added
Description TinyMCE is an open source rich text editor. Prior to 5.11.1, 7.9.3, and 8.5.1, there is a stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.
Title TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 30, 2026, 1:58 AM
Reserved
May 19, 2026, 10:36 PM
Status
Analyzed
Published
May 28, 2026, 4:16 PM
Modified
Oct 14, 2026, 8:10 PM