CVEfocus › CVE database › CVE-2023-48219

CVE-2023-48219Special characters in unescaped text nodes can trigger mXSS in TinyMCE

CVSS 6.1 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2023-11-15Updated 2024-08-29Assigner: GitHub_M

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.

CWE-79

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

2Fixed
4Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04tinymceFix pendingUBUNTU-CVE-2023-48219
Ubuntu 18.04tinymceFix pendingUBUNTU-CVE-2023-48219
Ubuntu 16.04tinymceFix pendingUBUNTU-CVE-2023-48219
Ubuntu 14.04tinymceFix pending
npm librarytinymceFixed5.10.9GHSA-v626-r774-j7f8
Packagist librarytinymce/tinymceFixed6.7.3GHSA-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.

References

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.