ckeditor4@4.20.0 vulnerabilities

JavaScript WYSIWYG web text editor.

Direct Vulnerabilities

Known vulnerabilities in the ckeditor4 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)

ckeditor4 is a JavaScript WYSIWYG web text editor.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to incorrect CDATA detection in the HTML parsing module. This flaw allows for the injection of malformed HTML content that bypasses the Advanced Content Filtering mechanism, potentially leading to the execution of JavaScript code. An attacker could exploit this vulnerability by manipulating CDATA content detection to launch an attack on the editor.

Note:

This issue is particularly relevant for instances that have enabled full-page editing mode or have allowed CDATA elements in the Advanced Content Filtering configuration, which by default includes script and style elements.

How to fix Cross-site Scripting (XSS)?

Upgrade ckeditor4 to version 4.24.0 or higher.

<4.24.0
  • M
Cross-site Scripting (XSS)

ckeditor4 is a JavaScript WYSIWYG web text editor.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to the misconfiguration of the preview feature in certain samples. An attacker can execute arbitrary JavaScript code by crafting malicious input that exploits this misconfiguration.

Note:

This issue affects samples that enable the preview feature, specifically within samples/old/**/*.html and plugins/[plugin name]/samples/**/*.html paths.

How to fix Cross-site Scripting (XSS)?

Upgrade ckeditor4 to version 4.24.0 or higher.

<4.24.0
  • M
Cross-site Scripting (XSS)

ckeditor4 is a JavaScript WYSIWYG web text editor.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the /ckeditor/samples/old/ajax.html file. An attacker can inject malicious JavaScript code and retrieve an authorized user's information.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for ckeditor4.

*