CVE-2022-23494 json
Cross-site scripting vulnerability in TinyMCE alerts
published 3y ago modified 4mo 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
Is CVE-2022-23494 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
-
github.com
/tinymce/tinymce/commit/6923d85eba6de3e08ebc9c5a387b5abdaa21150e
web, patch, third-party-advisory
-
github.com
/tinymce/tinymce/commit/8bb2d2646d4e1a718fce61a775fa22e9d317b32d
web, patch, third-party-advisory
-
github.com
/tinymce/tinymce/security/advisories/GHSA-gg8r-xjwq-4w92
web, patch, third-party-advisory
-
tiny.cloud
/docs/release-notes/release-notes5107/#securityfixes
web, release-notes, vendor-advisory
-
tiny.cloud
/docs/tinymce/6/6.3-release-notes/#security-fixes
web, release-notes, vendor-advisory
-
tiny.cloud
/docs/tinymce/6/file-image-upload/#images_upload_handler
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23494
advisory
-
github.com
/tinymce/tinymce
package
Sources
- CVE List CVE-2022-23494
- GitHub Advisory GHSA-gg8r-xjwq-4w92
- NVD CVE-2022-23494
Fencer Intel 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.