CVE-2022-23494Tinymce
Medium 6.1 No auth needed
Follow: this CVE · Tiny · Tinymce We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Dec 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
tinymce is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in the alert and confirm dialogs when these dialogs were provided with malicious HTML content. This can occur in plugins that use the alert or confirm dialogs, such as in the `image` plugin, which presents these dialogs when certain errors occur. The vulnerability allowed arbitrary JavaScript execution when an alert presented in the TinyMCE UI for the current user. This vulnerability has been patched in TinyMCE 5.10.7 and TinyMCE 6.3.1 by ensuring HTML sanitization was still performed after unwrapping invalid elements. Users are advised to upgrade to either 5.10.7 or 6.3.1. Users unable to upgrade may ensure the the `images_upload_handler` returns a valid value as per the images_upload_handler documentation.
What to do
- Apply the vendor's security update for Tinymce.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | TinyMCE |
≥ 6.0.0 < 6.3.1 |
6.3.1 |
dotnet add package TinyMCE --version 6.3.1 |
| NuGet | TinyMCE |
< 5.10.7 |
5.10.7 |
dotnet add package TinyMCE --version 5.10.7 |
| Packagist | tinymce/tinymce |
≥ 6.0.0 < 6.3.1 |
6.3.1 |
composer require "tinymce/tinymce:^6.3.1" |
| Packagist | tinymce/tinymce |
< 5.10.7 |
5.10.7 |
composer require "tinymce/tinymce:^5.10.7" |
| npm | tinymce |
≥ 6.0.0 < 6.3.1 |
6.3.1 |
npm install tinymce@6.3.1 |
| npm | tinymce |
< 5.10.7 |
5.10.7 |
npm install tinymce@5.10.7 |
Per OSV / GitHub Advisories (GHSA-gg8r-xjwq-4w92). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tiny | tinymce | < 5.10.7 |
| tiny | tinymce | ≥ 6.0.0 < 6.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- www.tiny.cloud Release Notes Vendor Advisory
- www.tiny.cloud Release Notes Vendor Advisory
- www.tiny.cloud Vendor Advisory