A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed. This impacts all users who are using TinyMCE 5.8.2 or lower.
WS-2021-0406 - Medium Severity Vulnerability
Vulnerable Library - tinymce-5.4.2.tgz
Web based JavaScript HTML WYSIWYG editor control.
Library home page: https://registry.npmjs.org/tinymce/-/tinymce-5.4.2.tgz
Path to dependency file: /web-library/package.json
Path to vulnerable library: /web-library/node_modules/tinymce/package.json
Dependency Hierarchy: - :x: **tinymce-5.4.2.tgz** (Vulnerable Library)
Found in base branch: main
Vulnerability Details
A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed. This impacts all users who are using TinyMCE 5.8.2 or lower.
Publish Date: 2021-10-22
URL: WS-2021-0406
CVSS 3 Score Details (6.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-5h9g-x5rv-25wg
Release Date: 2021-10-22
Fix Resolution: 5.9.0
Step up your Open Source Security Game with WhiteSource here