{"id":"CVE-2023-48219","aliases":["CVE-2023-48219","GHSA-v626-r774-j7f8"],"related":[],"kind":"vulnerability","state":"published","title":"Special characters in unescaped text nodes can trigger mXSS in TinyMCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA [mutation cross-site scripting](https://researchgate.net/publication/266654651_mXSS_attacks_Attacking_well-secured_web-applications_by_using_innerHTML_mutations) (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](https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments). 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. Such mutations occur when serialised HTML content is processed before being stored in the undo stack, or when the following APIs and plugins are used:\n* [`tinymce.Editor.getContent({ format: 'raw' })`](https://tiny.cloud/docs/tinymce/6/apis/tinymce.editor/#getContent)\n* [`tinymce.Editor.resetContent()`](https://tiny.cloud/docs/tinymce/6/apis/tinymce.editor/#resetContent)\n* [Autosave Plugin](https://tiny.cloud/docs/tinymce/6/autosave/)\n\n### Patches\nThis vulnerability has been patched in TinyMCE 6.7.3 by:\n* ensuring that any unescaped text nodes which contain the special internal marker are emptied before removing the marker from the rest of the HTML, and\n* removing the special internal marker from content strings passed to `Editor.setContent`, `Editor.insertContent`, and `Editor.resetContent` APIs to prevent them from being loaded into the editor as user-provided content.\n\n### Fix\nTo avoid this vulnerability:\n- Upgrade to TinyMCE 6.7.3 or higher for TinyMCE 6.x.\n- Upgrade to TinyMCE 5.10.9 or higher for TinyMCE 5.x.\n\n### Acknowledgements\nTiny Technologies would like to thank Masato Kinugawa of [Cure53](https://cure53.de/) for discovering this vulnerability.\n\n### References\n- [TinyMCE 5.10.9 Release Notes](https://tiny.cloud/docs/release-notes/release-notes5109/)\n- [TinyMCE 6.7.3 Release Notes](https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes/)\n\n### For more information\n\nEmail us at [infosec@tiny.cloud](mailto:infosec@tiny.cloud)\nOpen an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)","format":"markdown","source":"ghsa"},{"lang":"es","text":"TinyMCE es un editor de texto enriquecido de código abierto. Se descubrió una vulnerabilidad de Cross-Site Scripting (mXSS) de Mutación en la funcionalidad principal de deshacer/rehacer de TinyMCE y en otras API y complementos. Los nodos de texto dentro de padres específicos no tienen escape durante la serialización de acuerdo con el estándar HTML. Si dichos nodos de texto contienen un carácter especial reservado como marcador interno, se pueden combinar con otros patrones HTML para formar fragmentos maliciosos. Estos fragmentos pasan la capa de sanitización inicial cuando el contenido se analiza en el cuerpo del editor, pero pueden activar XSS cuando el marcador interno especial se elimina del contenido y se vuelve a analizar. Su vulnerabilidad ha sido parcheada en las versiones 6.7.3 y 5.10.9 de TinyMCE. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2023-11-15T18:32:34.000Z","modified":"2026-09-10T03:50:00.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 6.0.0 < 6.7.3","status":"affected"},{"version":"< 5.10.9","status":"affected"}],"vendor":"tinymce","product":"tinymce","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.10.9"}],"ecosystem":"npm","package":"tinymce","purl":"pkg:npm/tinymce","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.7.3"}],"ecosystem":"npm","package":"tinymce","purl":"pkg:npm/tinymce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.10.9"}],"ecosystem":"Packagist","package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.7.3"}],"ecosystem":"Packagist","package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.10.9"}],"ecosystem":"NuGet","package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.7.3"}],"ecosystem":"NuGet","package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.10.9"},{"status":"affected","introduced":"6.0.0","fixed":"6.7.3"}],"vendor":"tiny","product":"tinymce","cpe":"cpe:2.3:a:tiny:tinymce:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-v626-r774-j7f8","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://tiny.cloud/docs/release-notes/release-notes5109/","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes/","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48219","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tinymce/tinymce","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/tinymce/tinymce/releases/tag/5.10.9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/tinymce/tinymce/releases/tag/6.7.3","tags":["web"],"sources":["ghsa"]},{"url":"https://tiny.cloud/docs/release-notes/release-notes5109","tags":["web"],"sources":["ghsa"]},{"url":"https://tiny.cloud/docs/tinymce/6/6.7.3-release-notes","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-29T17:41:49.250Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-48219","url":"https://www.cve.org/CVERecord?id=CVE-2023-48219","licence":"CVE Terms of Use","modified":"2024-08-29T17:42:00.819Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v626-r774-j7f8","url":"https://github.com/advisories/GHSA-v626-r774-j7f8","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:00.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-48219","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48219","licence":"Public domain","modified":"2026-06-17T06:33:45.917Z"}],"updatedAt":"2026-11-25T22:58:30.512Z","epss":{"score":0.00844,"percentile":0.59092,"date":"2026-12-01T12:00:22.000Z"}}