{"id":"CVE-2020-17480","aliases":["EUVD-2020-0245","GHSA-27gm-ghr9-4v95","UBUNTU-CVE-2020-17480"],"status":"published","title":"Cross-site scripting vulnerability in TinyMCE","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01248,"percentile":0.69579,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-01-30T21:22:15Z","modified":"2026-10-20T10:52:01Z","fixes":[{"ecosystem":"npm","package":"tinymce","fixed_in":["4.9.7","5.1.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.7"}]}]},{"source":"ghsa","ecosystem":"npm","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.4"}]}]},{"source":"osv","ecosystem":"npm","package":"tinymce","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.9.7"}]}]},{"source":"osv","ecosystem":"npm","package":"tinymce","ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.1.4"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.8+dfsg0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.8+dfsg0-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.8+dfsg0-2"]}],"products":[{"vendor":"tiny","product":"tinymce"}],"references":[{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-27gm-ghr9-4v95","tags":["x_refsource_MISC","x_transferred","Exploit","Release Notes","Third Party Advisory","evidence","web","report"]},{"url":"https://www.tiny.cloud/docs/release-notes/release-notes514/#securityfixes","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-17480","tags":["advisory"]},{"url":"https://portswigger.net/daily-swig/xss-vulnerability-patched-in-tinymce","tags":["web"]},{"url":"https://github.com/advisories/GHSA-27gm-ghr9-4v95"},{"url":"https://github.com/tinymce/tinymce","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-17480","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-17480","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-17480","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","status":"published","published":"2020-08-10T19:34:35Z","modified":"2024-08-04T14:00:47.422Z","updated_at":"2026-11-02T14:35:54.468882Z"}],"euvd":[{"id":"EUVD-2020-0245","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","status":"published","published":"2020-08-10T19:34:35Z","modified":"2024-08-04T14:00:47Z","updated_at":"2026-11-03T03:07:26.951665Z"}],"ghsa":[{"id":"GHSA-27gm-ghr9-4v95","title":"Cross-site scripting vulnerability in TinyMCE","description":"### Impact\nA cross-site scripting (XSS) vulnerability was discovered in: the core parser, `paste` and `visualchars` plugins. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.6 or lower and TinyMCE 5.1.3 or lower.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 4.9.7 and 5.1.4 by improved parser logic and HTML sanitization.\n\n### Workarounds\nThe workarounds available are:\n- disable the impacted plugins\n- manually sanitize the content using the `BeforeSetContent` event (see below)\n- upgrade to either TinyMCE 4.9.7 or TinyMCE 5.1.4\n\n#### Example: Manually sanitize content\n```js\neditor.on('BeforeSetContent', function(e) {\n  var sanitizedContent = ...; // Manually sanitize content here\n  e.content = sanitizedContent;\n});\n```\n\n### Acknowledgements\nTiny Technologies would like to thank Michał Bentkowski for discovering this vulnerability.\n\n### References\nhttps://www.tiny.cloud/docs/release-notes/release-notes514/#securityfixes\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues)\n* Email us at [infosec@tiny.cloud](mailto:infosec@tiny.cloud)\n","status":"published","published":"2020-01-30T21:22:15Z","modified":"2023-06-27T23:07:43Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:55.184601Z"}],"nvd":[{"id":"CVE-2020-17480","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","status":"published","published":"2020-08-10T20:15:11.737Z","modified":"2026-06-17T02:58:59.98Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:10.994748Z"}],"osv":[{"id":"CVE-2020-17480","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","status":"published","published":"2020-08-10T20:15:11.737Z","modified":"2026-10-20T10:52:01.724881999Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:15.212689Z"},{"id":"UBUNTU-CVE-2020-17480","description":"TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by using the clipboard or APIs to insert content into the editor.","status":"published","published":"2020-08-10T20:15:00Z","modified":"2025-10-24T04:48:38Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:23.344108Z"},{"id":"GHSA-27gm-ghr9-4v95","title":"Cross-site scripting vulnerability in TinyMCE","description":"### Impact\nA cross-site scripting (XSS) vulnerability was discovered in: the core parser, `paste` and `visualchars` plugins. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.6 or lower and TinyMCE 5.1.3 or lower.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 4.9.7 and 5.1.4 by improved parser logic and HTML sanitization.\n\n### Workarounds\nThe workarounds available are:\n- disable the impacted plugins\n- manually sanitize the content using the `BeforeSetContent` event (see below)\n- upgrade to either TinyMCE 4.9.7 or TinyMCE 5.1.4\n\n#### Example: Manually sanitize content\n```js\neditor.on('BeforeSetContent', function(e) {\n  var sanitizedContent = ...; // Manually sanitize content here\n  e.content = sanitizedContent;\n});\n```\n\n### Acknowledgements\nTiny Technologies would like to thank Michał Bentkowski for discovering this vulnerability.\n\n### References\nhttps://www.tiny.cloud/docs/release-notes/release-notes514/#securityfixes\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues)\n* Email us at [infosec@tiny.cloud](mailto:infosec@tiny.cloud)\n","status":"published","published":"2020-01-30T21:22:15Z","modified":"2026-07-08T06:00:37.47038526Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
