ADVISORIES

GitHub Advisory Database

GHSA-h236-g5gh-vq6c

DOM-based cross-site scripting in Froala Editor

Moderate CVE-2019-19935

Details

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. This allows an attacker that can control the editor content to execute arbitrary JavaScript in the context of the victim’s session.

Affected packages

EcosystemPackageAffected versions
npmfroala-editor
All versions before 3.2.3 (fixed in 3.2.3)

References