Vulnerability · Published Nov 15, 2023 · Assigned by GitHub_M
CVE-2023-48219Special characters in unescaped text nodes can trigger mXSS in TinyMCE
Medium 6.1
In plain English
A medium-severity cross-site scripting in tinymce from tinymce. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TinyMCE is an open source rich text editor. A mutation cross-site scripting (mXSS) vulnerability was discovered in TinyMCE’s core undo/redo functionality and other APIs and plugins. Text nodes within specific parents are not escaped upon serialization according to the HTML standard. If such text nodes contain a special character reserved as an internal marker, they can be combined with other HTML patterns to form malicious snippets. These snippets pass the initial sanitisation layer when the content is parsed into the editor body, but can trigger XSS when the special internal marker is removed from the content and re-parsed. his vulnerability has been patched in TinyMCE versions 6.7.3 and 5.10.9. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | tinymce | 5.10.9 | GHSA-v626-r774-j7f8 |
| NuGet | tinymce | 6.7.3 | GHSA-v626-r774-j7f8 |
| Packagist | tinymce/tinymce | 5.10.9 | GHSA-v626-r774-j7f8 |
| Packagist | tinymce/tinymce | 6.7.3 | GHSA-v626-r774-j7f8 |
| npm | tinymce | 5.10.9 | GHSA-v626-r774-j7f8 |
| npm | tinymce | 6.7.3 | GHSA-v626-r774-j7f8 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/tinymce/tinymce/security/advisories/GHSA-v626-r774-j7f8 x_refsource_CONFIRM
- https://tiny.cloud/docs/release-notes/release-notes5109/ x_refsource_MISC
- https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes/ x_refsource_MISC