Skip to content
Fencer Vulns
medium 5.4

CVE-2022-23494 json

Cross-site scripting vulnerability in TinyMCE alerts

published 2022-12-08 3 y ago modified 2026-06-17 4 mo ago also GHSA-gg8r-xjwq-4w92 , EUVD-2022-7631

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm tinymce 5.10.7, 6.3.1
  • packagist tinymce/tinymce 5.10.7, 6.3.1
  • nuget TinyMCE 5.10.7, 6.3.1
  • tiny tinymce 5.10.7, 6.3.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm tinymce
>=6.0.0, <6.3.1
<5.10.7
6.3.1
5.10.7
packagist tinymce/tinymce
>=6.0.0, <6.3.1
<5.10.7
6.3.1
5.10.7
nuget TinyMCE
>=6.0.0, <6.3.1
<5.10.7
6.3.1
5.10.7

Affected products

  • tinymce tinymce

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.