CVE-2023-45818
TinyMCE DOMParser XSS Attack
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.
INFO
Published Date :
Oct. 19, 2023, 10:15 p.m.
Last Modified :
Oct. 26, 2023, 4:32 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-45818
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-45818
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-45818
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Oct. 26, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/tinymce/tinymce/security/advisories/GHSA-v65r-p3vv-jjfv No Types Assigned https://github.com/tinymce/tinymce/security/advisories/GHSA-v65r-p3vv-jjfv Vendor Advisory Changed Reference Type https://researchgate.net/publication/266654651_mXSS_attacks_Attacking_well-secured_web-applications_by_using_innerHTML_mutations No Types Assigned https://researchgate.net/publication/266654651_mXSS_attacks_Attacking_well-secured_web-applications_by_using_innerHTML_mutations Third Party Advisory Changed Reference Type https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes No Types Assigned https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes Release Notes Changed Reference Type https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes No Types Assigned https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes Release Notes Changed Reference Type https://www.tiny.cloud/docs/api/tinymce.html/tinymce.html.saxparser/ No Types Assigned https://www.tiny.cloud/docs/api/tinymce.html/tinymce.html.saxparser/ Product Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:tiny:tinymce:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.8 *cpe:2.3:a:tiny:tinymce:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.7.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-45818
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-45818
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.01%
score
0.38231
percentile