{"id":"CVE-2024-21910","aliases":["CVE-2024-21910","GHSA-r8hm-w5f7-wj39","PYSEC-2026-632"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting vulnerability in TinyMCE plugins","summary":"TinyMCE versions before 5.10.0 are affected by a cross-site scripting vulnerability. A remote and unauthenticated attacker could introduce crafted image or link URLs that would result in the execution of arbitrary JavaScript in an editing user's browser.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TinyMCE versions before 5.10.0 are affected by a cross-site scripting vulnerability. A remote and unauthenticated attacker could introduce crafted image or link URLs that would result in the execution of arbitrary JavaScript in an editing user's browser.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 5.10.0 by improved sanitization logic when updating URLs in the relevant plugins.\n\n### Workarounds\nTo work around this vulnerability, either:\n- Upgrade to TinyMCE 5.10.0 or higher\n- Disable the `image` and `link` plugins\n\n### Acknowledgements\nTiny Technologies would like to thank Yakir6 for discovering this vulnerability.\n\n### References\nhttps://www.tiny.cloud/docs/release-notes/release-notes510/#securityfixes\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [infosec@tiny.cloud](mailto:infosec@tiny.cloud)\n* Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de TinyMCE anteriores a la 5.10.0 se ven afectadas por una vulnerabilidad de cross site scripting. Un atacante remoto y no autenticado podría introducir imágenes manipuladas o URL de enlaces que darían como resultado la ejecución de JavaScript arbitrario en el navegador de un usuario que esté editando.","source":"nvd"}],"published":"2021-11-02T15:42:52.000Z","modified":"2026-11-08T13:59:52.193Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-64","CWE-79"],"affected":[{"ranges":[{"type":"semver 2.0.0","introduced":"0","fixed":"5.10.0","status":"affected"}],"package":"TinyMCE","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.10.0"}],"ecosystem":"npm","package":"tinymce","purl":"pkg:npm/tinymce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.10.0"}],"ecosystem":"Packagist","package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.10.0"}],"ecosystem":"NuGet","package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.0"}],"ecosystem":"PyPI","package":"django-tinymce","purl":"pkg:pypi/django-tinymce","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.10.0"}],"vendor":"tiny","product":"tinymce","cpe":"cpe:2.3:a:tiny:tinymce:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.0"}],"ecosystem":"PyPI","package":"django-tinymce","purl":"pkg:pypi/django-tinymce","source":"pysec"}],"references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-r8hm-w5f7-wj39","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jazzband/django-tinymce/issues/366","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jazzband/django-tinymce/releases/tag/3.4.0","tags":["related","release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/django-tinymce/3.4.0/","tags":["related","release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/advisories/GHSA-r8hm-w5f7-wj39","tags":["advisory","exploit","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-r8hm-w5f7-wj39","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/tinymce/tinymce","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django-tinymce/3.4.0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django-tinymce","tags":["package"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21910","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-01-09T20:43:59.537Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21910","url":"https://www.cve.org/CVERecord?id=CVE-2024-21910","licence":"CVE Terms of Use","modified":"2026-11-08T13:59:52.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r8hm-w5f7-wj39","url":"https://github.com/advisories/GHSA-r8hm-w5f7-wj39","licence":"CC-BY-4.0","modified":"2026-07-08T06:53:11.097Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21910","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21910","licence":"Public domain","modified":"2026-07-14T23:17:14.457Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-632","url":"https://osv.dev/vulnerability/PYSEC-2026-632","licence":"CC-BY-4.0","modified":"2026-07-06T08:00:11.733Z"}],"updatedAt":"2026-11-25T22:58:35.909Z","epss":{"score":0.00956,"percentile":0.62442,"date":"2026-12-01T12:00:22.000Z"}}