Cross-site Scripting (XSS) Affecting tinymce package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
2.21% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-TINYMCE-3173575
  • published16 Dec 2022
  • disclosed8 Dec 2022

Introduced: 8 Dec 2022

CVE-2022-23494  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 tinymce.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tinymce package and not the tinymce package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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 Base Scores

version 3.1