Home / tinymce / tinymce / CVE-2022-23494
CVE-2022-23494: is it exploited, and which versions of tinymce are affected and fixed?
CVE-2022-23494 is a cross-site scripting (XSS) vulnerability in tinymce. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: tinymce from 6.0.0 before 6.3.1, tinymce/tinymce from 6.0.0 before 6.3.1, TinyMCE from 6.0.0 before 6.3.1 and 3 more (GitHub advisory GHSA-gg8r-xjwq-4w92). Fixed in 6.3.1 and 5.10.7 (GitHub advisory GHSA-gg8r-xjwq-4w92). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-23494?
Cross-site scripting vulnerability in TinyMCE alerts
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.
From the CVE record by GitHub_M, last updated April 23, 2025, 16:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| tinymce | tinymce | < 5.10.7 >= 6.0.0, < 6.3.1 |
As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | tinymce | >= 6.0.0, < 6.3.1 | 6.3.1 | GHSA-gg8r-xjwq-4w92 |
| Packagist | tinymce/tinymce | >= 6.0.0, < 6.3.1 | 6.3.1 | GHSA-gg8r-xjwq-4w92 |
| NuGet | TinyMCE | >= 6.0.0, < 6.3.1 | 6.3.1 | GHSA-gg8r-xjwq-4w92 |
| npm | tinymce | < 5.10.7 | 5.10.7 | GHSA-gg8r-xjwq-4w92 |
| Packagist | tinymce/tinymce | < 5.10.7 | 5.10.7 | GHSA-gg8r-xjwq-4w92 |
| NuGet | TinyMCE | < 5.10.7 | 5.10.7 | GHSA-gg8r-xjwq-4w92 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 12, 2022. Summary: Cross-site scripting vulnerability in TinyMCE alerts.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tiny | tinymce | before 5.10.7 | application |
| tiny | tinymce | from 6.0.0 before 6.3.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:30 UTC.
How severe is CVE-2022-23494?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-23494 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 23, 2025)
- EPSS
- 1.05% probability of exploitation activity in the next 30 days, percentile 65.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/tinymce/tinymce/security/advisories/GHSA-gg8r-xjwq-4w92 x_refsource_CONFIRM
- https://github.com/tinymce/tinymce/commit/6923d85eba6de3e08ebc9c5a387b5abdaa21150e x_refsource_MISC
- https://github.com/tinymce/tinymce/commit/8bb2d2646d4e1a718fce61a775fa22e9d317b32d x_refsource_MISC
- https://www.tiny.cloud/docs/release-notes/release-notes5107/#securityfixes x_refsource_MISC
- https://www.tiny.cloud/docs/tinymce/6/6.3-release-notes/#security-fixes x_refsource_MISC
- https://www.tiny.cloud/docs/tinymce/6/file-image-upload/#images_upload_handler x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 19, 2022
- Published
- December 8, 2022, 21:29 UTC
- CVE record updated
- April 23, 2025, 16:30 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:30 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect tinymce?
- Oct 27, 2026CVE-2026-116675 tinymce: cross-site scripting (XSS)
- May 28, 2026CVE-2026-47762 tinymce: cross-site scripting (XSS)
- May 28, 2026CVE-2026-47761 tinymce: cross-site scripting (XSS)
- May 28, 2026CVE-2026-47759 tinymce: cross-site scripting (XSS)
- May 28, 2026CVE-2026-47760 tinymce: cross-site scripting (XSS)
- Jun 19, 2024CVE-2024-38357 tinymce: cross-site scripting (XSS)
- Jun 19, 2024CVE-2024-38356 tinymce: cross-site scripting (XSS)
- Mar 26, 2024CVE-2024-29881 tinymce: cross-site scripting (XSS)
Questions about CVE-2022-23494
Is CVE-2022-23494 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.05% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of tinymce are affected by CVE-2022-23494?
tinymce from 6.0.0 before 6.3.1, tinymce/tinymce from 6.0.0 before 6.3.1, TinyMCE from 6.0.0 before 6.3.1, tinymce before 5.10.7, tinymce/tinymce before 5.10.7 and TinyMCE before 5.10.7, per the GitHub advisory GHSA-gg8r-xjwq-4w92. The tables above give every range the sources list.
Which version fixes CVE-2022-23494?
6.3.1 and 5.10.7, per the GitHub advisory GHSA-gg8r-xjwq-4w92. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-23494?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-23494?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.