sceditor@2.1.0 vulnerabilities

A lightweight HTML and BBCode WYSIWYG editor.

Direct Vulnerabilities

Known vulnerabilities in the sceditor 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
  • H
Cross-site Scripting (XSS)

sceditor is a lightweight WYSIWYG BBCode and XHTML editor.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in/src/lib/defaultCommands.js, when using editor.wysiwygEditorInsertHtml to insert image, URL or email, the inputs are not sanitized, enabling XSS.

How to fix Cross-site Scripting (XSS)?

Upgrade sceditor to version 3.0.0 or higher.

<3.0.0