Advisory

GHSA-h236-g5gh-vq6c

Also known as: CVE-2019-19935

Summary

DOM-based cross-site scripting in Froala Editor

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-10 23:32 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

froala-editor

npm · All systems

Affected

  • introduced 0, fixed 3.2.3 (semver)

Fixed versions

3.2.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences