# CVE-2024-38356: TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 59% of CVEs (2026-11-30)
- Published: 2024-06-19T15:07:08.000Z
- Modified: 2026-09-10T03:50:16.204Z
- Also known as: GHSA-9hcv-j9pv-qmph, PYSEC-2026-1301
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tinymce tinymce: < 5.11.0; >= 6.0.0, <6.8.4; >= 7.0.0, < 7.2.0
- tinymce (npm): before 5.11.0; from 6.0.0 before 6.8.4; from 7.0.0 before 7.2.0
- TinyMCE (NuGet): before 5.11.0; from 6.0.0 before 6.8.4; from 7.0.0 before 7.2.0
- tinymce/tinymce (Packagist): before 5.11.0; from 6.0.0 before 6.8.4; from 7.0.0 before 7.2.0
- django-tinymce (PyPI): before 4.1.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L`

## References

- <https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph> (web)
- <https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d> (web)
- <https://owasp.org/www-community/attacks/xss> (web)
- <https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview> (web)
- <https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38356> (advisory)
- <https://github.com/tinymce/tinymce/commit/a9fb858509f86dacfa8b01cfd34653b408983ac0> (web)
- <https://github.com/tinymce/tinymce> (package)
- <https://www.tiny.cloud/docs/tinymce/latest/7.2-release-notes/#overview> (web)
- <https://pypi.org/project/django-tinymce> (package)
- <https://github.com/advisories/GHSA-9hcv-j9pv-qmph> (advisory)

## Sources

- CVE List: [CVE-2024-38356](https://www.cve.org/CVERecord?id=CVE-2024-38356), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9hcv-j9pv-qmph](https://github.com/advisories/GHSA-9hcv-j9pv-qmph), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38356](https://nvd.nist.gov/vuln/detail/CVE-2024-38356), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1301](https://osv.dev/vulnerability/PYSEC-2026-1301), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-38356 · Whole record: https://cve.day/CVE-2024-38356.json · Rebuilt by cve.day 2026-11-25T22:58:42.054Z
