CVE-2022-23494
Cross-site scripting vulnerability in TinyMCE alerts
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Timeline
ID reserved
By GitHub_M
- 11 months later
· 11 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.0% · top 37% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetTinyMCEGHSA-gg8r-xjwq-4w92 (opens in a new tab)
- Packagisttinymce/tinymceGHSA-gg8r-xjwq-4w92 (opens in a new tab)
- npmtinymceGHSA-gg8r-xjwq-4w92 (opens in a new tab)
References (6)
- https://github.com/tinymce/tinymce/security/advisories/GHSA-gg8r-xjwq-4w92 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/tinymce/tinymce/commit/6923d85eba6de3e08ebc9c5a387b5abdaa21150e (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/tinymce/tinymce/commit/8bb2d2646d4e1a718fce61a775fa22e9d317b32d (opens in a new tab)x_refsource_MISCx_transferred
- https://www.tiny.cloud/docs/release-notes/release-notes5107/#securityfixes (opens in a new tab)x_refsource_MISCx_transferred
- https://www.tiny.cloud/docs/tinymce/6/6.3-release-notes/#security-fixes (opens in a new tab)x_refsource_MISCx_transferred
- https://www.tiny.cloud/docs/tinymce/6/file-image-upload/#images_upload_handler (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gg8r-xjwq-4w92 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-23494)Record last updated .