tinymce@4.5.10 vulnerabilities

Web based JavaScript HTML WYSIWYG editor control.

Direct Vulnerabilities

Known vulnerabilities in the tinymce package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when using the noneditable_regexp option on an element whose content does not match the regex. An attacker can inject malicious scripts into HTML attributes that are executed when extracted from the editor.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 6.8.4, 7.2.0 or higher.

<6.8.4 >=7.0.0 <7.2.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when parsing noscript elements in the editor. An attacker can bypass sanitization by placing malicious code in noscript elements.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 6.8.4, 7.2.0 or higher.

<6.8.4 >=7.0.0 <7.2.0
  • M
Cross-Site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) via iframe elements inserted into the editor. Attacks are limited by same-origin browser protections, but downloading files is still possible.

How to fix Cross-Site Scripting (XSS)?

Upgrade tinymce to version 7.0.0 or higher.

<7.0.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when loading SVG files via object or embed elements.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 7.0.0 or higher.

<7.0.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via mutation of inner HTML. An attacker can inject malicious scripts that pass the initial sanitization layer when the content is parsed into the editor body, but can trigger XSS when the special internal marker is removed from the content and re-parsed. Text nodes in some parents are not sufficiently escaped upon serialization and can contain a special character reserved as an internal marker.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.10.9, 6.7.3 or higher.

<5.10.9 >=6.0.0 <6.7.3
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the core undo and redo functionality. An attacker can exploit this vulnerability by passing a carefully-crafted HTML snippet that bypasses the sanitisation layer, is manipulated as a string by internal trimming functions, and is stored in the undo stack. If the HTML snippet is restored from the undo stack, the reparative parsing by either the browser's native DOMParser API (TinyMCE 6) or the SaxParser API (TinyMCE 5) mutates the HTML maliciously.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.10.8, 6.7.1 or higher.

<5.10.8 >=6.0.0 <6.7.1
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Notification Manager API due to improper input sanitization. An attacker can execute arbitrary JavaScript when a notification is presented in the UI for the current user by inserting carefully crafted malicious content into the editor and triggering a notification.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.10.8, 6.7.1 or higher.

<5.10.8 >=6.0.0 <6.7.1
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improper user-input sanitization 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.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.10.7, 6.3.1 or higher.

<5.10.7 >=6.0.0 <6.3.1
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via URLs which are not cleaned correctly in the link and image plugins.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.10.0 or higher.

<5.10.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a piece of crafted content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.9.0 or higher.

<5.9.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or APIs, and then submitting the form. However, as TinyMCE does not allow forms to be submitted while editing, the vulnerability could only be triggered when the content was previewed or rendered outside of the editor. NOTE: the vulnerability could only be triggered when the content was previewed or rendered outside of the editor.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.7.1 or higher.

<5.7.1
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). A vulnerability exists within the URL sanitization logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or APIs.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.6.0 or higher.

<5.6.0
  • C
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It allows arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 4.9.11, 5.4.0 or higher.

<4.9.11 >=5.0.0 <5.4.0
  • M
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the media plugin.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 4.9.10, 5.2.2 or higher.

<4.9.10 >=5.0.0 <5.2.2
  • H
Cross-site Scripting (XSS)

tinymce is a web-based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the core parser, paste and visualchars plugins. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 5.1.4, 4.9.7 or higher.

>=5.0.0 <5.1.4 <4.9.7
  • M
Cross-site Scripting (XSS)

tinymce is a web based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks. Links with xlink:href attributes were not filtered correctly.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 4.7.12 or higher.

<4.5.12 >=4.6.0 <4.7.12
  • H
Cross-site Scripting (XSS)

tinymce is a web based JavaScript HTML WYSIWYG editor control.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks, due to not encoding the base url passed into the iframe contents in the preview plugin.

How to fix Cross-site Scripting (XSS)?

Upgrade tinymce to version 4.6.4 or higher.

<4.6.4