{"id":"CVE-2024-38356","state":"PUBLISHED","title":"TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option","description":"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","publishedAt":"2024-06-19T20:03:47.923Z","updatedAt":"2024-08-02T04:04:25.245Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["tinymce tinymce"],"affected":[{"vendor":"tinymce","product":"tinymce","versions":[{"version":"< 5.11.0","status":"affected"},{"version":">= 6.0.0, <6.8.4","status":"affected"},{"version":">= 7.0.0, < 7.2.0","status":"affected"}]}],"references":["https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","https://owasp.org/www-community/attacks/xss","https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview","https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38356.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38356","state":"PUBLISHED","datePublished":"2024-06-19T20:03:47.923Z","dateUpdated":"2024-08-02T04:04:25.245Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-14T14:16:16.464Z"},"containers":{"cna":{"title":"TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"tinymce","product":"tinymce","versions":[{"version":"< 5.11.0","status":"affected"},{"version":">= 6.0.0, <6.8.4","status":"affected"},{"version":">= 7.0.0, < 7.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","name":"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","name":"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","tags":["x_refsource_MISC"]},{"url":"https://owasp.org/www-community/attacks/xss","name":"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","name":"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","name":"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-19T20:03:47.923Z"},"source":{"advisory":"GHSA-9hcv-j9pv-qmph","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-20T16:29:07.834861Z","id":"CVE-2024-38356","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-20T16:29:15.320Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","name":"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","name":"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://owasp.org/www-community/attacks/xss","name":"https://owasp.org/www-community/attacks/xss","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview","name":"https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview","name":"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:04:25.245Z"}}]}}}