wangeditor@2.0.17 vulnerabilities

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

Direct Vulnerabilities

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

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