Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Informational severity, with a CVSS score of 6.1, published 3 January 2024.
- Which products and versions are affected?
- tinymce (npm) SEMVER:introduced=0.
- Is there a fix for This vulnerability?
- A patch was published on 2021-01-06: Version 5.6.0 released with patch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run tinymce (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a stored cross-site scripting (CWE-79) flaw in the URL sanitization logic of TinyMCE's core parser, affecting versions before 5.6.0. An unauthenticated attacker can insert crafted HTML (via clipboard, APIs, or other content insertion mechanisms) containing malicious JavaScript in iframe, object, or embed element URL attributes. The crafted content persists in the editor and executes arbitrary JavaScript in the context of other users' browsers when they view or edit the content. The vulnerability was patched in version 5.6.0 through improved URL sanitization logic. Workarounds include using node filters to sanitize specific attributes or disabling problematic elements entirely via the invalid_elements configuration.
Affected products
- Tiny Technologies TinyMCE < 5.6.0
Timeline
- 2021-01-06: disclosed
- 2021-01-06: patched: Version 5.6.0 released with patch
- 2024-01-03: advisory: Advisory republished as GHSA-q5pp-5q2h-g8rv (duplicate of GHSA-w7jx-j77m-wp65)