Cross-site Scripting vulnerability in TinyMCE undo/redo, getContent API, resetContent API, and Autosave plugin
Published Oct 19, 2023
6.1
MEDIUMCVSS 3.1
EPSS 0.62%
Description
TinyMCE is an open source rich text editor. A mutation cross-site scripting (mXSS) vulnerability was discovered in TinyMCE’s core undo and redo functionality. When a carefully-crafted HTML snippet passes the XSS sanitisation layer, it is manipulated as a string by internal trimming functions before being stored in the undo stack. If the HTML snippet is restored from the undo stack, the combination of the string manipulation and reparative parsing by either the browser's native [DOMParser API](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser) (TinyMCE 6) or the SaxParser API (TinyMCE 5) mutates the HTML maliciously, allowing an XSS payload to be executed. This vulnerability has been patched in TinyMCE 5.10.8 and TinyMCE 6.7.1 by ensuring HTML is trimmed using node-level manipulation instead of string manipulation. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
-
- Version < 5.10.8StatusaffectedConstraints-
- Version >= 6.0.0, < 6.7.1StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
tinymce
npm
Introduced 6.0.0 Fixed 6.7.1tinymce
npm
Introduced 0 Fixed 5.10.8TinyMCE
NuGet
Introduced 6.0.0 Fixed 6.7.1TinyMCE
NuGet
Introduced 0 Fixed 5.10.8tinymce/tinymce
Packagist
Introduced 0 Fixed 5.10.8tinymce/tinymce
Packagist
Introduced 6.0.0 Fixed 6.7.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | tinymce | 6.0.0 | 6.7.1 |
| npm | tinymce | 0 | 5.10.8 |
| NuGet | TinyMCE | 6.0.0 | 6.7.1 |
| NuGet | TinyMCE | 0 | 5.10.8 |
| Packagist | tinymce/tinymce | 0 | 5.10.8 |
| Packagist | tinymce/tinymce | 6.0.0 | 6.7.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Sep 12, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (7 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.62% (0.00620) | 47.77th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.62% (0.00620) | 44.78th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.77% (0.00773) | 71.86th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.09% (0.00087) | 38.62th | v3 (v2023.03.01) |
| Jun 4, 2024 | 0.05% (0.00050) | 19.16th | v3 (v2023.03.01) |
| Oct 27, 2023 | 0.05% (0.00050) | 17.13th | v3 (v2023.03.01) |
| Oct 20, 2023 | 0.05% (0.00048) | 14.85th | v3 (v2023.03.01) |
References (7)
- https://github.com/advisories/GHSA-v65r-p3vv-jjfv Advisory
- https://github.com/tinymce/tinymce/security/advisories/GHSA-v65r-p3vv-jjfv x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-45818
- https://researchgate.net/publication/266654651_mXSS_attacks_Attacking_well-secured_web-applications_by_using_innerHTML_mutations x_refsource_MISCThird Party Advisory
- https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes x_refsource_MISCRelease Notes
- https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes x_refsource_MISCRelease Notes
- https://www.tiny.cloud/docs/api/tinymce.html/tinymce.html.saxparser/ x_refsource_MISCProduct
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-v65r-p3vv-jjfv | Advisory | |
| https://github.com/tinymce/tinymce/security/advisories/GHSA-v65r-p3vv-jjfv | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-45818 | ||
| https://researchgate.net/publication/266654651_mXSS_attacks_Attacking_well-secured_web-applications_by_using_innerHTML_mutations | x_refsource_MISCThird Party Advisory | |
| https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes | x_refsource_MISCRelease Notes | |
| https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes | x_refsource_MISCRelease Notes | |
| https://www.tiny.cloud/docs/api/tinymce.html/tinymce.html.saxparser/ | x_refsource_MISCProduct |
Change history (0)
No recorded changes yet.