CVE-2026-47760

TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs

Published May 28, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
TinyMCE is an open source rich text editor. From 6.8.0 to before 7.1.0, TinyMCE contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested elements can bypass attribute sanitization and execute arbitrary JavaScript. This vulnerability is fixed in 7.1.0.

Analysis

AI-generated

Technical impact

TinyMCE, an open‑source rich text editor, is affected by a Cross‑Site Scripting flaw that arises from improper handling of the SVG namespace scope during sanitization. A crafted payload that nests SVG elements can bypass attribute sanitization and cause the editor to execute arbitrary JavaScript when the content is rendered in a browser. The vulnerability is present in releases between 6.8.0 and just before 7.1.0 and has been fixed in 7.1.0.

Affected Systems

Any installation of TinyMCE with a version from 6.8.0 up to, but not including, 7.1.0 is vulnerable. The affected releases belong to the tinymce vendor of the open‑source rich‑text editor.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. An attacker can exploit the flaw by injecting malicious content into any editable field that uses TinyMCE, for example via user‑submitted posts or API data that is rendered in the editor. When the injected content is displayed, the JavaScript runs in the victim’s browser, giving the attacker the privileges of the viewer.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TinyMCE to version 7.1.0 or newer, which contains the sanitization fix.
  • If an immediate upgrade is not feasible, disable SVG support or remove the SVG plugin from the editor configuration, preventing the problematic elements from being processed.
  • Add an external sanitization step that removes all SVG tags and namespace attributes before the content reaches TinyMCE.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mh5m-5hw4-5c69 TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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. From 6.8.0 to before 7.1.0, TinyMCE contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested elements can bypass attribute sanitization and execute arbitrary JavaScript. This vulnerability is fixed in 7.1.0.
Title TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs
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
Jun 2, 2026, 3:58 PM
Reserved
May 19, 2026, 10:36 PM
Status
Analyzed
Published
May 28, 2026, 4:16 PM
Modified
Oct 14, 2026, 8:10 PM