wangeditor@4.0.1 vulnerabilities

wangEditor - 轻量级 web 富文本编辑器,配置方便,使用简单,开源免费

  • latest version

    4.7.15

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    2 years ago

  • licenses detected

    • >=2.0.1-5.1 <4.6.7
  • Direct Vulnerabilities

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

    wangeditor is a lightweight web rich text editor.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the video upload functionality due to improper user input sanitization. An attacker can inject malicious scripts that may be executed in the context of the user's session by uploading a specially crafted video file.

    How to fix Cross-site Scripting (XSS)?

    Upgrade wangeditor to version 4.7.12 or higher.

    <4.7.12
    • M
    Cross-site Scripting (XSS)

    wangeditor is a lightweight web rich text editor.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The package allows a user to insert JavaScript in the link user input fields which gets reflected in the browser without any output encoding.

    How to fix Cross-site Scripting (XSS)?

    Upgrade wangeditor to version 4.0.6 or higher.

    >=3.0.0 <4.0.6