Medium

Cross-site scripting vulnerability in TinyMCE plugins

  • Disclosed: 02.11.2021
  • Updated: 11.10.2026 13:17

Impact

A cross-site scripting (XSS) vulnerability was discovered in the URL processing logic of the image and link plugins. The vulnerability allowed arbitrary JavaScript execution when updating an image or link using a specially crafted URL. This issue only impacted users while editing and the dangerous URLs were stripped in any content extracted from the editor. This impacts all users who are using TinyMCE 5.9.2 or lower.

Patches

This vulnerability has been patched in TinyMCE 5.10.0 by improved sanitization logic when updating URLs in the relevant plugins.

Workarounds

To work around this vulnerability, either:

  • Upgrade to TinyMCE 5.10.0 or higher
  • Disable the image and link plugins

Acknowledgements

Tiny Technologies would like to thank Yakir6 for discovering this vulnerability.

References

https://www.tiny.cloud/docs/release-notes/release-notes510/#securityfixes

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package tinymce/tinymce < 5.10.0 5.10.0
npm package tinymce < 5.10.0 5.10.0
.NET (NuGet) TinyMCE < 5.10.0 5.10.0
Python (PyPI) django-tinymce < 3.4.0 3.4.0

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-64, CWE-79
Platform
Composer, npm, .NET (NuGet), Python (PyPI)
Package
tinymce/tinymce, tinymce, TinyMCE
Disclosed
02.11.2021
Updated
11.10.2026 13:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r8hm-w5f7-wj39 - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-632 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: django-tinymce

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
11.2021 06.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 3

Disclosures per year

  1. 2021: 1
  2. 2022: 0
  3. 2023: 0
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
  1. Cross-site scripting vulnerability in TinyMCE plugins this entry
    Medium · 6.1 CVE-2024-21910 < 3.4.0 3.4.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.