quill-mention@0.2.7 vulnerabilities

@mentions for the Quill rich text editor

Direct Vulnerabilities

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

quill-mention is a @mentions for the Quill rich text editor

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improper user-input sanitization, via the renderList function.

Note:

If the mentions list is sourced from unsafe (user-sourced) data, this might allow an injection attack when a Quill user hits @.

How to fix Cross-site Scripting (XSS)?

Upgrade quill-mention to version 4.0.0 or higher.

<4.0.0