XSS in Tinymce

CVE-2024-38356

TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before being added. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (41.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Tinymce — versions < 5.11.0, >= 6.0.0, <6.8.4, >= 7.0.0, < 7.2.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-38356?
CVE-2024-38356 is a medium-severity vulnerability in Tinymce, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-06-19.
How severe is CVE-2024-38356?
Medium severity. CVSS v3 base score is 6.1 out of 10.