CVE-2022-23494: tiny tinymce Cross-site Scripting
Vulnerability summary
CVE-2022-23494 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in tiny tinymce. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 62.7% of scored vulnerabilities.
Timeline
- 08-12-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · NugetEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
+0.04 pp
From 0.98% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Tinymce2 products
- tinymce≥ 6.0.0, < 6.3.1 | < 5.10.7
- tinymce< 5.10.7 | ≥ 6.0.0, < 6.3.1
Npm1 product
- tinymce≥ 6.0.0, < 6.3.1 | < 5.10.7
NuGet1 product
- TinyMCE≥ 6.0.0, < 6.3.1 | < 5.10.7
Tiny1 product
- tinymce< 5.10.7 | ≥ 6.0.0, < 6.3.1
Ubuntu1 product
- tinymceAll versions (No fix recorded)
5 vendors · 6 products
References
10 links- github.com/tinymce/tinymce/security/advisories/GHSA-gg8r-xjwq-4w92X Refsource CONFIRMREPORTWEBPatchThird Party Advisory
- github.com/tinymce/tinymce/commit/6923d85eba6de3e08ebc9c5a387b5abdaa21150eX Refsource MISCREPORTWEBPatchThird Party Advisory
- github.com/tinymce/tinymce/commit/8bb2d2646d4e1a718fce61a775fa22e9d317b32dX Refsource MISCREPORTWEBPatchThird Party Advisory
- www.tiny.cloud/docs/release-notes/release-notes5107/X Refsource MISCREPORTWEBRelease NotesVendor Advisory
- www.tiny.cloud/docs/tinymce/6/6.3-release-notes/X Refsource MISCREPORTWEBRelease NotesVendor Advisory
- github.com/tinymce/tinymcePACKAGE