CVE-2023-48219Special characters in unescaped text nodes can trigger mXSS in TinyMCE
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.
What to do
Fixed builds are available from Packagist, npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | tinymce | Fix pending | UBUNTU-CVE-2023-48219 | |
| Ubuntu 18.04 | tinymce | Fix pending | UBUNTU-CVE-2023-48219 | |
| Ubuntu 16.04 | tinymce | Fix pending | UBUNTU-CVE-2023-48219 | |
| Ubuntu 14.04 | tinymce | Fix pending | ||
| npm library | tinymce | Fixed | 5.10.9 | GHSA-v626-r774-j7f8 |
| Packagist library | tinymce/tinymce | Fixed | 6.7.3 | GHSA-v626-r774-j7f8 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tinymce: affected: >= 6.0.0 < 6.7.3, < 5.10.9
References
- https://github.com/tinymce/tinymce/security/advisories/GHSA-v626-r774-j7f8
- https://tiny.cloud/docs/release-notes/release-notes5109/
- https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.