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.
Remediation
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/
Related Vulnerabilities
CVE-2018-16131 Vulnerability in maven package com.typesafe.akka:akka-http-core_2.12
CVE-2022-22984 Vulnerability in npm package snyk
CVE-2017-2610 Vulnerability in maven package org.jenkins-ci.main:jenkins-war
CVE-2020-12827 Vulnerability in maven package org.webjars.npm:mjml
CVE-2016-0706 Vulnerability in maven package org.apache.tomcat:tomcat-catalina