CVE-2024-21910 — tinymce
MEDIUMCVE-2024-21910 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in tinymce. 1 public exploit reference exists, so weaponization risk is real. A fix is available for tinymce — see the affected versions and patch details below.
Cross-site scripting vulnerability in TinyMCE plugins
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-21910.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2024-21910 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 384,993 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
tinymcenpmDescription
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
imageandlinkplugins
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:
- Email us at [email protected]
- Open an issue in the TinyMCE repo
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | tinymce | all versions | 5.10.0npm install tinymce@5.10.0 |
| .NETNuGet | TinyMCE | all versions | 5.10.0dotnet add package TinyMCE --version 5.10.0 |
| 🐘Packagist | tinymce/tinymce | all versions | 5.10.0composer require tinymce/tinymce:^5.10.0 |
| 🐍PyPI | django-tinymce | all versions | 3.4.0pip install --upgrade 'django-tinymce==3.4.0' |
Affected Products
tinymcetinyResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tinymce, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update tinymce to 5.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-21910 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2024-21910 in your dependencies?
Find it across npm, NuGet, Packagist, including transitive dependencies.