Vulnerability library
Security checkJanuary 29, 2023

DOM-based cross-site scripting in Froala Editor

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmfroala-editor

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Froala WYSIWYG HTML Editor is a lightweight WYSIWYG HTML Editor written in JavaScript that enables rich text editing capabilities for web applications. A DOM-based cross-site scripting (XSS) vulnerability exists in versions before 3.2.3 because HTML code in the editor is not correctly sanitized when inserted into the DOM.

Recommendation

Update the froala-editor package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.2.3
  • Patched version(s): 3.2.3

References

Could your website be exposed too?

SmartScanner can check your website for DOM-based cross-site scripting in Froala Editor and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 29, 2023