Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-q742-qvgc-gc2f: TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes

0
High
Published: 06/05/2026 (06/05/2026, 20:27:50 UTC)
Source: GCVE Database
Product: tinymce

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected software

npmghsa
tinymce
Affected versions
<=5.10.9
npmghsa
tinymce
Affected versions
>=6.0.0 <7.9.3
npmghsa
tinymce
Affected versions
>=8.0.0 <8.5.1
NuGetghsa
TinyMCE
Affected versions
<=5.10.9
NuGetghsa
TinyMCE
Affected versions
>=6.0.0 <7.9.3
NuGetghsa
TinyMCE
Affected versions
>=8.0.0 <8.5.1
Packagistghsa
tinymce/tinymce
Affected versions
<=5.10.9
Packagistghsa
tinymce/tinymce
Affected versions
>=6.0.0 <7.9.3
Packagistghsa
tinymce/tinymce
Affected versions
>=8.0.0 <8.5.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:49:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses