GHSA-q742-qvgc-gc2f: TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
TinyMCE versions up to 5.10.9, from 6.0.0 up to but not including 7.9.3, and from 8.0.0 up to but not including 8.5.1 are affected by a stored Cross-Site Scripting (XSS) vulnerability. The issue arises from unsanitized data-mce-* attributes (specifically data-mce-href, data-mce-src, and data-mce-style) that allow attackers to inject malicious content bypassing validation during serialization. This vulnerability has been patched by stripping unsafe data-mce-* attributes during parsing. Users should upgrade to TinyMCE 8.5.1 or higher, 7.9.3 or higher, or 5.11.1 LTS or higher (the latter available only under commercial long-term support). No official workaround is available.
AI Analysis
Technical Summary
A stored XSS vulnerability (CWE-79) exists in TinyMCE due to improper sanitization of data-mce-* prefixed attributes such as data-mce-href, data-mce-src, and data-mce-style. Attackers can inject malicious values that override safe attributes during serialization, bypassing validation controls. The vulnerability affects multiple TinyMCE versions: all versions up to 5.10.9, all versions from 6.0.0 up to but excluding 7.9.3, and all versions from 8.0.0 up to but excluding 8.5.1. The vendor fixed the issue by stripping unsafe data-mce-* attributes during parsing. The fix is included in TinyMCE versions 5.11.1 LTS, 7.9.3, and 8.5.1 and later. No official workaround exists.
Potential Impact
Successful exploitation allows an attacker to perform stored Cross-Site Scripting (XSS) attacks by injecting malicious script code via unsanitized data-mce-* attributes. This can lead to complete compromise of confidentiality and integrity (high impact on confidentiality and integrity), but does not affect availability. The vulnerability requires at least low privileges and user interaction (UI:R) and can be exploited remotely (AV:N).
Mitigation Recommendations
A fix is available. Users should upgrade to TinyMCE 8.5.1 or higher, 7.9.3 or higher, or 5.11.1 LTS or higher (the latter requires a commercial long-term support contract). There is no official workaround available. Applying the official patches is the recommended mitigation.
GHSA-q742-qvgc-gc2f: TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
Description
TinyMCE versions up to 5.10.9, from 6.0.0 up to but not including 7.9.3, and from 8.0.0 up to but not including 8.5.1 are affected by a stored Cross-Site Scripting (XSS) vulnerability. The issue arises from unsanitized data-mce-* attributes (specifically data-mce-href, data-mce-src, and data-mce-style) that allow attackers to inject malicious content bypassing validation during serialization. This vulnerability has been patched by stripping unsafe data-mce-* attributes during parsing. Users should upgrade to TinyMCE 8.5.1 or higher, 7.9.3 or higher, or 5.11.1 LTS or higher (the latter available only under commercial long-term support). No official workaround is available.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A stored XSS vulnerability (CWE-79) exists in TinyMCE due to improper sanitization of data-mce-* prefixed attributes such as data-mce-href, data-mce-src, and data-mce-style. Attackers can inject malicious values that override safe attributes during serialization, bypassing validation controls. The vulnerability affects multiple TinyMCE versions: all versions up to 5.10.9, all versions from 6.0.0 up to but excluding 7.9.3, and all versions from 8.0.0 up to but excluding 8.5.1. The vendor fixed the issue by stripping unsafe data-mce-* attributes during parsing. The fix is included in TinyMCE versions 5.11.1 LTS, 7.9.3, and 8.5.1 and later. No official workaround exists.
Potential Impact
Successful exploitation allows an attacker to perform stored Cross-Site Scripting (XSS) attacks by injecting malicious script code via unsanitized data-mce-* attributes. This can lead to complete compromise of confidentiality and integrity (high impact on confidentiality and integrity), but does not affect availability. The vulnerability requires at least low privileges and user interaction (UI:R) and can be exploited remotely (AV:N).
Mitigation Recommendations
A fix is available. Users should upgrade to TinyMCE 8.5.1 or higher, 7.9.3 or higher, or 5.11.1 LTS or higher (the latter requires a commercial long-term support contract). There is no official workaround available. Applying the official patches is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q742-qvgc-gc2f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-47759"]
- Ecosystems
- ["npm","NuGet","Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4e4f06c9d9e3dbe328ddbc
Added to database: 07/08/2026, 13:22:14 UTC
Last enriched: 07/08/2026, 13:49:54 UTC
Last updated: 07/08/2026, 16:35:05 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.