ckeditor4@4.22.1 vulnerabilities

JavaScript WYSIWYG web text editor.

  • latest version

    4.25.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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 improper user input sanitization via the GeSHi plugin. An attacker can inject malicious scripts that are executed on the client side by crafting a request to the library hosted on a PHP web server.

    How to fix Cross-site Scripting (XSS)?

    Upgrade ckeditor4 to version 4.25.0 or higher.

    <4.25.0
    • L
    Cross-site Scripting (XSS)

    ckeditor4 is a JavaScript WYSIWYG web text editor.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in an unlikely scenario where an attacker gains control over the https://cke4.ckeditor.com domain. An attacker can manipulate web page content or hijack user sessions by injecting malicious scripts into the web page, which are then executed within the user's browser context. This is only exploitable if the version notifications feature is enabled, which is disabled by default in all CKEditor 4 LTS versions.

    How to fix Cross-site Scripting (XSS)?

    Upgrade ckeditor4 to version 4.25.0 or higher.

    >=4.22.0 <4.25.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 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)?

    Upgrade ckeditor4 to version 4.24.0 or higher.

    <4.24.0