{"id":"CVE-2024-38356","published":"2024-06-19T20:03:47Z","modified":"2024-08-02T04:04:25Z","title":"TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option","vendor":"tinymce","product":"tinymce","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00529,"percentile":0.4568,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","tags":["x_refsource_MISC"]},{"url":"https://owasp.org/www-community/attacks/xss","tags":["x_refsource_MISC"]},{"url":"https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview","tags":["x_refsource_MISC"]},{"url":"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":9.14},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"tinymce","affectedVersions":[{"vendor":"tinymce","product":"tinymce","versions":["< 5.11.0",">= 6.0.0, <6.8.4",">= 7.0.0, < 7.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-20T16:29:07.834861Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tinymce","vulnerableRanges":["<5.11.0",">=6.0.0, <6.8.4",">=7.0.0, <7.2.0"],"patched":["5.11.0","6.8.4","7.2.0"],"from":["GHSA-9hcv-j9pv-qmph"],"provenance":"source"},{"ecosystem":"NuGet","package":"TinyMCE","vulnerableRanges":["<5.11.0",">=6.0.0, <6.8.4",">=7.0.0, <7.2.0"],"patched":["5.11.0","6.8.4","7.2.0"],"from":["GHSA-9hcv-j9pv-qmph"],"provenance":"source"},{"ecosystem":"Packagist","package":"tinymce/tinymce","vulnerableRanges":["<5.11.0",">=6.0.0, <6.8.4",">=7.0.0, <7.2.0"],"patched":["5.11.0","6.8.4","7.2.0"],"from":["GHSA-9hcv-j9pv-qmph"],"provenance":"source"},{"ecosystem":"PyPI","package":"django-tinymce","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-9hcv-j9pv-qmph","PYSEC-2026-1301"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting vulnerability in TinyMCE, an open source rich text editor, located in its content extraction code when the noneditable_regexp option is used. Specially crafted HTML attributes containing malicious code can be executed when content is extracted from the editor. An unauthenticated remote attacker can exploit this over the network with low complexity, but it requires user interaction, such as a victim extracting content from an affected editor instance. The issue occurs only when the noneditable_regexp option is configured.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:17Z"},"euvd":{"id":"EUVD-2024-2005","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-48219","published":"2023-11-15","fixed":"6.7.3","kev":false,"link":{"from":"CVE-2023-48219","to":"CVE-2024-38356","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tinymce","fromFixed":"5.10.9","toFixed":"5.11.0","daysApart":217},{"kind":"version-step","provenance":"source","package":"Packagist:tinymce/tinymce","fromFixed":"5.10.9","toFixed":"5.11.0","daysApart":217}]}},{"cve":"CVE-2024-29203","published":"2024-03-26","fixed":"6.8.1","kev":false,"link":{"from":"CVE-2024-29203","to":"CVE-2024-38356","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tinymce","fromFixed":"6.8.1","toFixed":"6.8.4","daysApart":85},{"kind":"version-step","provenance":"source","package":"Packagist:tinymce/tinymce","fromFixed":"6.8.1","toFixed":"6.8.4","daysApart":85},{"kind":"same-code","provenance":"machine","files":["modules/tinymce/src/core/main/ts/api/html/DomParser.ts"],"commits":["https://github.com/tinymce/tinymce/commit/bcdea2ad14e3c2cea40743fb48c63bba067ae6d1","https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","https://github.com/tinymce/tinymce/commit/a9fb858509f86dacfa8b01cfd34653b408983ac0"],"basis":"shared file"}]}},{"cve":"CVE-2024-29881","published":"2024-03-26","fixed":"7.0.0","kev":false},{"cve":"CVE-2026-47760","published":"2026-05-28","fixed":"7.1.0","kev":false},{"cve":"CVE-2024-38356","published":"2024-06-19","fixed":"7.2.0","kev":false},{"cve":"CVE-2024-38357","published":"2024-06-19","fixed":"7.2.0","kev":false},{"cve":"CVE-2026-47759","published":"2026-05-28","fixed":"8.5.1","kev":false},{"cve":"CVE-2026-47761","published":"2026-05-28","fixed":"8.5.1","kev":false}],"package":"npm:tinymce"}}