Description
TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content loading and content inserting code. A SVG image could be loaded though an `object` or `embed` element and that image could potentially contain a XSS payload. This vulnerability is fixed in 6.8.1 and 7.0.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tinymce | tinymce | < 7.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tinymce | No fix yet | — |
| Ubuntu 18.04 LTS | tinymce | No fix yet | — |
| Ubuntu 16.04 LTS | tinymce | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | tinymce | < 7.0.0 | 7.0.0 | GHSA-5359-pvf2-pw78 |
| NuGet | TinyMCE | < 7.0.0 | 7.0.0 | GHSA-5359-pvf2-pw78 |
| Packagist | tinymce/tinymce | < 7.0.0 | 7.0.0 | GHSA-5359-pvf2-pw78 |
Advisories 1
- WID-SEC-2024-1368 IBM Maximo Asset Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 12, 2024
References
- https://github.com/tinymce/tinymce/security/advisories/GHSA-5359-pvf2-pw78
- https://github.com/tinymce/tinymce/commit/bcdea2ad14e3c2cea40743fb48c63bba067ae6d1
- https://www.tiny.cloud/docs/tinymce/6/6.8.1-release-notes/#new-convert_unsafe_embeds-option-that-controls-whether-object-and-embed-elements-will-be-converted-to-more-restrictive-alternatives-namely-img-for-image-mime-types-video-for-video-mime-types-audio-audio-mime-types-or-iframe-for-other-or-unspecified-mime-types
- https://www.tiny.cloud/docs/tinymce/7/7.0-release-notes/#convert_unsafe_embeds-editor-option-is-now-defaulted-to-true