CVE-2022-23494

Cross-site scripting vulnerability in TinyMCE alerts

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.

Category

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 2.21% Top 20%
Vendor Advisory tiny.cloud Vendor Advisory tiny.cloud Vendor Advisory tiny.cloud
Affected: tinymce tinymce
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23494?
CVE-2022-23494 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23494?
To fix CVE-2022-23494, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-23494 being actively exploited in the wild?
It is possible that CVE-2022-23494 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23494?
CVE-2022-23494 affects tinymce tinymce.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.