CVE-2024-38356
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.1
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
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.
- Record
CVE-2024-38356- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2024-2005
6.1
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.
- Record
EUVD-2024-2005- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9hcv-j9pv-qmph
5.3
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
Impact
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.
Patches
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.
Fix
To avoid this vulnerability:
- Upgrade to TinyMCE 7.2.0 or higher.
- Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x.
- Upgrade to TinyMCE 5.11.0 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).
References
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
- Open an issue in the TinyMCE repo
- Record
GHSA-9hcv-j9pv-qmph- CVSS 4.0
- 5.3 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 - 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5vm8-hhgr-jcjp No score
Cross-site scripting vulnerability in TinyMCE
Impact
A cross-site scripting (XSS) vulnerability was discovered in the URL sanitization logic of the core parser for form elements. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or APIs, and then submitting the form. However, as TinyMCE does not allow forms to be submitted while editing, the vulnerability could only be triggered when the content was previewed or rendered outside of the editor. This impacts all users who are using TinyMCE 5.7.0 or lower.
Patches
This vulnerability has been patched in TinyMCE 5.7.1 by improved URL sanitization logic.
Workarounds
To work around this vulnerability, either:
- Upgrade to TinyMCE 5.7.1 or higher
- Manually sanitize
formURL attributes using a TinyMCE node filter. - Disable
formelements in your content using the invalid_elements setting.
Example: Sanitizing using a node filter
editor.parser.addNodeFilter('form', function(nodes) {
nodes.forEach(function(node) {
if (node.attributes) {
node.attributes.forEach(function(attr) {
var name = attr.name;
var value = attr.value;
// Sanitize the attribute value here or remove it entirely
var sanitizedValue = ...;
node.attr(name, santizedValue);
});
}
});
});
Example: Using invalid_elements
invalid_elements: 'form'
Acknowledgements
Tiny Technologies would like to thank Mikhail Khramenkov at Solar Security Research Team for discovering this vulnerability.
References
https://www.tiny.cloud/docs/release-notes/release-notes571/#securityfixes
For more information
If you have any questions or comments about this advisory:
- Open an issue in the TinyMCE repo
- Email us at [email protected]
- Record
GHSA-5vm8-hhgr-jcjp- Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2024-38356- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
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.
- Record
CVE-2024-38356- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-9hcv-j9pv-qmph
5.3
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
Impact
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.
Patches
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.
Fix
To avoid this vulnerability:
- Upgrade to TinyMCE 7.2.0 or higher.
- Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x.
- Upgrade to TinyMCE 5.11.0 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).
References
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
- Open an issue in the TinyMCE repo
- Record
GHSA-9hcv-j9pv-qmph- CVSS 4.0
- 5.3 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 - 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVPYSEC-2026-1301
5.3
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
Impact
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.
Patches
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.
Fix
To avoid this vulnerability:
- Upgrade to TinyMCE 7.2.0 or higher.
- Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x.
- Upgrade to TinyMCE 5.11.0 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).
References
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
- Open an issue in the TinyMCE repo
- Record
PYSEC-2026-1301- CVSS 4.0
- 5.3 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 - 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-38356
6.1
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.
- Record
UBUNTU-CVE-2024-38356- 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 - Updated
- 2026-11-02
OSVCLSA-2026-1777423184 No score
TuxCare security update for tinymce (12 CVEs)
TuxCare rebuilt tinymce to address 12 CVEs. Fixed in 4.9.11-tuxcare.1.
- Record
CLSA-2026-1777423184- Updated
- 2026-11-02
OSVCLSA-2026-1777423186 No score
TuxCare security update for tinymce (4 CVEs)
TuxCare rebuilt tinymce to address 4 CVEs. Fixed in 5.10.9-tuxcare.1.
- Record
CLSA-2026-1777423186- Updated
- 2026-11-02
OSVCLSA-2026-1792761444 No score
TuxCare security update for 3 packages (2 CVEs)
TuxCare rebuilt 3 packages to address 2 CVEs. Fixed in 2.9.18-tuxcare.3.
- Record
CLSA-2026-1792761444- Updated
- 2026-11-02
OSVGHSA-5vm8-hhgr-jcjp No score
Cross-site scripting vulnerability in TinyMCE
Impact
A cross-site scripting (XSS) vulnerability was discovered in the URL sanitization logic of the core parser for form elements. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or APIs, and then submitting the form. However, as TinyMCE does not allow forms to be submitted while editing, the vulnerability could only be triggered when the content was previewed or rendered outside of the editor. This impacts all users who are using TinyMCE 5.7.0 or lower.
Patches
This vulnerability has been patched in TinyMCE 5.7.1 by improved URL sanitization logic.
Workarounds
To work around this vulnerability, either:
- Upgrade to TinyMCE 5.7.1 or higher
- Manually sanitize
formURL attributes using a TinyMCE node filter. - Disable
formelements in your content using the invalid_elements setting.
Example: Sanitizing using a node filter
editor.parser.addNodeFilter('form', function(nodes) {
nodes.forEach(function(node) {
if (node.attributes) {
node.attributes.forEach(function(attr) {
var name = attr.name;
var value = attr.value;
// Sanitize the attribute value here or remove it entirely
var sanitizedValue = ...;
node.attr(name, santizedValue);
});
}
});
});
Example: Using invalid_elements
invalid_elements: 'form'
Acknowledgements
Tiny Technologies would like to thank Mikhail Khramenkov at Solar Security Research Team for discovering this vulnerability.
References
https://www.tiny.cloud/docs/release-notes/release-notes571/#securityfixes
For more information
If you have any questions or comments about this advisory:
- Open an issue in the TinyMCE repo
- Email us at [email protected]
- Record
GHSA-5vm8-hhgr-jcjp- Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tinymcenpm |
before 5.7.1 | 5.7.1 |
tinymcenpm |
before 5.11.0 | 5.11.0 |
TinyMCENuGet |
before 5.11.0 | 5.11.0 |
tinymce/tinymcePackagist |
before 5.11.0 | 5.11.0 |
tinymcenpm |
6.0.0 up to 6.8.4 | 6.8.4 |
tinymcenpm |
7.0.0 up to 7.2.0 | 7.2.0 |
TinyMCENuGet |
6.0.0 up to 6.8.4 | 6.8.4 |
TinyMCENuGet |
7.0.0 up to 7.2.0 | 7.2.0 |
tinymce/tinymcePackagist |
6.0.0 up to 6.8.4 | 6.8.4 |
tinymce/tinymcePackagist |
7.0.0 up to 7.2.0 | 7.2.0 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
django-tinymcePyPI |
through 4.0.0 | 4.1.0 |
tinymceTuxCare:npm From an advisory covering 11 CVEs |
4.9.11-tuxcare.0 up to 4.9.11-tuxcare.1, plus listed versions 4.9.11 |
4.9.11-tuxcare.1 |
tinymceTuxCare:npm From an advisory covering 4 CVEs |
5.10.9-tuxcare.0 up to 5.10.9-tuxcare.1, plus listed versions 5.10.9 |
5.10.9-tuxcare.1 |
@vitejs/plugin-legacyTuxCare:npm From an advisory covering 2 CVEs |
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions 2.9.182.9.18-tuxcare.12.9.18-tuxcare.2 |
2.9.18-tuxcare.3 |
create-viteTuxCare:npm From an advisory covering 2 CVEs |
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions 2.9.182.9.18-tuxcare.12.9.18-tuxcare.2 |
2.9.18-tuxcare.3 |
viteTuxCare:npm From an advisory covering 2 CVEs |
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions 2.9.182.9.18-tuxcare.12.9.18-tuxcare.2 |
2.9.18-tuxcare.3 |
TinyMCENuGet |
before 5.11.0, plus listed versions 3.4.3.23.4.43.4.53.4.73.5.0 Show 45 moreShow less3.5.0.13.5.13.5.1.13.5.23.5.33.5.43.5.4.13.5.53.5.63.5.73.5.84.0.04.0.14.0.104.0.114.0.134.0.144.0.154.0.164.0.174.0.184.0.194.0.24.0.204.0.214.0.224.0.234.0.244.0.254.0.264.0.274.0.284.0.44.0.54.0.64.0.84.0.94.1.04.1.14.1.104.1.24.1.34.1.44.1.54.1.6 |
5.11.0 |
tinymce/tinymcePackagist |
before 5.11.0, plus listed versions 4.0.04.0.14.0.104.0.114.0.12 Show 45 moreShow less4.0.134.0.144.0.154.0.164.0.174.0.184.0.194.0.24.0.204.0.214.0.224.0.234.0.244.0.254.0.264.0.274.0.284.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.04.1.14.1.104.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.94.2.04.2.14.2.24.2.34.2.44.2.54.2.64.2.74.2.84.3.0 |
5.11.0 |
TinyMCENuGet |
6.0.0 up to 6.8.4, plus listed versions 6.0.16.0.26.0.36.1.06.1.1 Show 19 moreShow less6.1.26.2.06.3.06.3.16.3.26.4.06.4.16.4.26.5.06.5.16.6.26.7.06.7.16.7.26.7.36.8.06.8.16.8.26.8.3 |
6.8.4 |
TinyMCENuGet |
7.0.0 up to 7.2.0, plus listed versions 7.0.17.1.07.1.17.1.2 |
7.2.0 |
tinymce/tinymcePackagist |
6.0.0 up to 6.8.4, plus listed versions 6.0.16.0.26.0.36.1.06.1.1 Show 21 moreShow less6.1.26.2.06.3.06.3.16.3.26.4.06.4.16.4.26.5.06.5.16.6.06.6.16.6.26.7.06.7.16.7.26.7.36.8.06.8.16.8.26.8.3 |
6.8.4 |
tinymce/tinymcePackagist |
7.0.0 up to 7.2.0, plus listed versions 7.0.17.1.07.1.17.1.2 |
7.2.0 |
django-tinymcePyPI |
before 4.1.0, plus listed versions 1.01.11.21.31.4 Show 45 moreShow less1.4.11.51.5.11.5.1.dev1001.5.1.dev1011.5.1a11.5.1a21.5.1a31.5.1b11.5.1b21.5.1b31.5.1b41.5.21.5.31.5.42.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.1.02.2.02.3.02.4.02.5.02.6.02.6.12.7.02.7.12.8.02.9.03.0.13.0.23.1.03.2.03.3.03.4.03.5.03.6.03.6.13.7.03.7.1 |
4.1.0 |
roundcubeUbuntu:Pro:22.04:LTS |
before 1.5.0+dfsg.1-2ubuntu0.1~esm6, plus listed versions 1.4.11+dfsg.1-41.5.0+dfsg.1-21.5.0+dfsg.1-2ubuntu0.1~esm11.5.0+dfsg.1-2ubuntu0.1~esm21.5.0+dfsg.1-2ubuntu0.1~esm31.5.0+dfsg.1-2ubuntu0.1~esm41.5.0+dfsg.1-2ubuntu0.1~esm5 |
1.5.0+dfsg.1-2ubuntu0.1~esm6 |
roundcubeUbuntu:Pro:24.04:LTS |
before 1.6.6+dfsg-2ubuntu0.1+esm3, plus listed versions 1.6.2+dfsg-11.6.4+dfsg-11.6.5+dfsg-11.6.6+dfsg-11.6.6+dfsg-21.6.6+dfsg-2ubuntu0.11.6.6+dfsg-2ubuntu0.1+esm11.6.6+dfsg-2ubuntu0.1+esm2 |
1.6.6+dfsg-2ubuntu0.1+esm3 |
roundcubeUbuntu:25.10 |
All versions, plus listed versions 1.6.10+dfsg-11.6.10+dfsg-21.6.11+dfsg-1 |
None known |
roundcubeUbuntu:26.10 |
All versions, plus listed versions 1.6.11+dfsg-1 |
None known |
roundcubeUbuntu:Pro:26.04:LTS |
All versions, plus listed versions 1.6.11+dfsg-11.6.11+dfsg-1ubuntu0.26.04.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-38356 is a medium vulnerability (CVSS 6.1) in Tinymce, published May 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 45th percentile. Fixed in tinymce 5.7.1.
References
github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph
github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d
owasp.org/www-community/attacks/xss
tiny.cloud/docs/tinymce/6/6.8.4-release-notes
tiny.cloud/docs/tinymce/7/7.2-release-notes
github.com/tinymce/tinymce/security/advisories/GHSA-5vm8-hhgr-jcjp
Show 11 moreShow less
github.com/advisories/GHSA-5vm8-hhgr-jcjp
tiny.cloud/docs/tinymce/latest/7.2-release-notes
nvd.nist.gov/vuln/detail/CVE-2024-38356
github.com/tinymce/tinymce/commit/a9fb858509f86dacfa8b01cfd34653b408983ac0
github.com/advisories/GHSA-9hcv-j9pv-qmph
github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38356.json
github.com/tinymce/tinymce
pypi.org/project/django-tinymce
ubuntu.com/security/CVE-2024-38356
cve.org/CVERecord?id=CVE-2024-38356
ubuntu.com/security/notices/USN-8223-1
Left out here: 256 versions. The JSON record has them.