{"cve":"CVE-2022-23494","nvd":{"published":"2022-12-08T22:15:10.150","modified":"2026-06-17T04:30:14.060","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/tinymce/tinymce/commit/6923d85eba6de3e08ebc9c5a387b5abdaa21150e","https://github.com/tinymce/tinymce/commit/8bb2d2646d4e1a718fce61a775fa22e9d317b32d","https://github.com/tinymce/tinymce/security/advisories/GHSA-gg8r-xjwq-4w92","https://www.tiny.cloud/docs/release-notes/release-notes5107/#securityfixes","https://www.tiny.cloud/docs/tinymce/6/6.3-release-notes/#security-fixes"],"products":["tiny:tinymce"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-23494","score":0.01015,"percentile":0.63284,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gg8r-xjwq-4w92","url":"https://osv.dev/vulnerability/GHSA-gg8r-xjwq-4w92","summary":"Cross-site scripting vulnerability in TinyMCE alerts","modified":"2023-11-08T04:08:19.194114Z","packages":[{"ecosystem":"npm","name":"tinymce","purl":"pkg:npm/tinymce","ranges":[">=6.0.0 <6.3.1"],"fixed":["6.3.1"]},{"ecosystem":"Packagist","name":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","ranges":[">=6.0.0 <6.3.1"],"fixed":["6.3.1"]},{"ecosystem":"NuGet","name":"TinyMCE","purl":"pkg:nuget/TinyMCE","ranges":[">=6.0.0 <6.3.1"],"fixed":["6.3.1"]},{"ecosystem":"npm","name":"tinymce","purl":"pkg:npm/tinymce","ranges":["<5.10.7"],"fixed":["5.10.7"]},{"ecosystem":"Packagist","name":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","ranges":["<5.10.7"],"fixed":["5.10.7"]},{"ecosystem":"NuGet","name":"TinyMCE","purl":"pkg:nuget/TinyMCE","ranges":["<5.10.7"],"fixed":["5.10.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}