GitHub Advisoryadvisory · npm

GHSA-h236-g5gh-vq6c DOM-based cross-site scripting in Froala Editor

MEDIUM Published 2022-02-10 Modified 2022-10-31 Official page ↗
Aliases
CVE-2019-19935
Ecosystem
npm
Packages
froala-editor
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-05-11

Affected packages

• npm froala-editor: < 3.2.3 → fixed in 3.2.3

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

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References