TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments (CVE-2026-47762)
A stored cross-site scripting (XSS) vulnerability exists in TinyMCE through forged mce:protected comments. This flaw allows attackers to bypass sanitization and inject malicious scripts that execute when the protected content is restored. The vulnerability affects users who utilize the protect option in TinyMCE. No official workaround is available. The issue is fixed by validating decoded mce:protected content against configured protect regex rules before restoration. 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 support contract).
AI Analysis
Technical Summary
CVE-2026-47762 is a stored XSS vulnerability in TinyMCE caused by insufficient validation of mce:protected comments. Attackers can craft malicious mce:protected comments that bypass sanitization and inject scripts executed upon content restoration. The vulnerability impacts versions <=5.10.9, >=6.0.0 <7.9.3, and >=8.0.0 <8.5.1. The fix involves validating the decoded mce:protected content against configured protect regex rules before restoring it. Upgrading to patched versions eliminates the vulnerability.
Potential Impact
Successful exploitation allows an attacker with low privileges and requiring user interaction to execute arbitrary scripts in the context of the affected application, leading to complete confidentiality and integrity compromise of the affected content. The vulnerability does not impact availability. This can affect users relying on the protect option in TinyMCE, potentially leading to stored XSS attacks.
Mitigation Recommendations
A fix is available. Users should upgrade to TinyMCE 8.5.1 or later, 7.9.3 or later, or 5.11.1 LTS or later (the latter requires a commercial support contract). There is no official workaround. Applying the official patches is the recommended remediation.
TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments (CVE-2026-47762)
Description
A stored cross-site scripting (XSS) vulnerability exists in TinyMCE through forged mce:protected comments. This flaw allows attackers to bypass sanitization and inject malicious scripts that execute when the protected content is restored. The vulnerability affects users who utilize the protect option in TinyMCE. No official workaround is available. The issue is fixed by validating decoded mce:protected content against configured protect regex rules before restoration. 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 support contract).
CVSS v3.1
Score 8.7high
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
CVE-2026-47762 is a stored XSS vulnerability in TinyMCE caused by insufficient validation of mce:protected comments. Attackers can craft malicious mce:protected comments that bypass sanitization and inject scripts executed upon content restoration. The vulnerability impacts versions <=5.10.9, >=6.0.0 <7.9.3, and >=8.0.0 <8.5.1. The fix involves validating the decoded mce:protected content against configured protect regex rules before restoring it. Upgrading to patched versions eliminates the vulnerability.
Potential Impact
Successful exploitation allows an attacker with low privileges and requiring user interaction to execute arbitrary scripts in the context of the affected application, leading to complete confidentiality and integrity compromise of the affected content. The vulnerability does not impact availability. This can affect users relying on the protect option in TinyMCE, potentially leading to stored XSS attacks.
Mitigation Recommendations
A fix is available. Users should upgrade to TinyMCE 8.5.1 or later, 7.9.3 or later, or 5.11.1 LTS or later (the latter requires a commercial support contract). There is no official workaround. Applying the official patches is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v98h-vmpc-fpqv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-47762"]
- Ecosystems
- ["npm","NuGet","Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a58b41d68715ace43d68b98
Added to database: 07/16/2026, 10:36:13 UTC
Last enriched: 07/16/2026, 11:00:25 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 19
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.