CVE-2023-45818: tiny tinymce Cross-site Scripting
Vulnerability summary
CVE-2023-45818 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in tiny tinymce. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.5% of scored vulnerabilities.
Timeline
- 19-10-2023PublishedVulnerability first disclosed.
- 12-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NugetEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.11 pp
From 0.62% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Tinymce2 products
- tinymce≥ 6.0.0, < 6.7.1 | < 5.10.8
- tinymce< 5.10.8 | ≥ 6.0.0, < 6.7.1
Npm1 product
- tinymce≥ 6.0.0, < 6.7.1 | < 5.10.8
NuGet1 product
- TinyMCE≥ 6.0.0, < 6.7.1 | < 5.10.8
Tiny1 product
- tinymce< 5.10.8 | ≥ 6.0.0, < 6.7.1
Ubuntu1 product
- tinymceAll versions (No fix recorded)
5 vendors · 6 products
References
10 links- github.com/tinymce/tinymce/security/advisories/GHSA-v65r-p3vv-jjfvX Refsource CONFIRMREPORTWEBVendor Advisory
- github.com/tinymce/tinymcePACKAGE