{"id":"CVE-2019-1010091","aliases":["EUVD-2020-0418","GHSA-c78w-2gw7-gjv3","UBUNTU-CVE-2019-1010091"],"status":"published","title":"XSS in TinyMCE","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","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-08","score":0.01917,"percentile":0.80008,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2019-07-17T16:35:10Z","modified":"2026-10-20T10:52:16Z","fixes":[{"ecosystem":"npm","package":"tinymce","fixed_in":["4.9.10","5.2.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.10"}]}]},{"source":"ghsa","ecosystem":"npm","package":"tinymce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.2.2"}]}]},{"source":"osv","ecosystem":"npm","package":"tinymce","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.9.10"}]}]},{"source":"osv","ecosystem":"npm","package":"tinymce","ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.2.2"}]}]},{"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"},{"vendor":"tinymce","product":"tinymce"}],"references":[{"url":"https://github.com/tinymce/tinymce/issues/4394","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://github.com/tinymce/tinymce/security/advisories/GHSA-c78w-2gw7-gjv3","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1010091","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c78w-2gw7-gjv3"},{"url":"https://ubuntu.com/security/CVE-2019-1010091","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-1010091","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-1010091","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","status":"published","published":"2019-07-17T16:35:10Z","modified":"2024-08-05T03:07:18.162Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:20:24.989116Z"}],"euvd":[{"id":"EUVD-2020-0418","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","status":"published","published":"2019-07-17T16:35:10Z","modified":"2024-08-05T03:07:18Z","updated_at":"2026-11-03T02:40:18.85013Z"}],"ghsa":[{"id":"GHSA-c78w-2gw7-gjv3","title":"XSS in TinyMCE","description":"### Impact\nA cross-site scripting (XSS) vulnerability was discovered in: the core parser and `media` plugin. 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.9 or lower and TinyMCE 5.2.1 or lower.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 4.9.10 and 5.2.2 by improved HTML parsing and sanitization logic.\n\n### Workarounds\nThe workarounds available are:\n- disable the media plugin and manually sanitize CDATA content (see below)\nor\n- upgrade to either TinyMCE 4.9.10 or TinyMCE 5.2.2\n\n#### Example: Manually strip CDATA elements\n```js\nsetup: function(editor) {\n  editor.on('PreInit', function() {\n    editor.parser.addNodeFilter('#cdata', function(nodes) {\n      for (var i = 0; i \u003c nodes.length; i++) {\n        nodes[i].remove();\n      }\n    });\n  });\n}\n```\n\n### Acknowledgements\nTiny Technologies would like to thank Michał Bentkowski and [intivesec](https://github.com/intivesec) for discovering these vulnerabilities.\n\n### References\nhttps://www.tiny.cloud/docs/release-notes/release-notes522/#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)","status":"published","published":"2020-05-11T20:00:15Z","modified":"2023-01-09T05:02:20Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:03.040255Z"}],"nvd":[{"id":"CVE-2019-1010091","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","status":"published","published":"2019-07-17T17:15:13.2Z","modified":"2026-06-17T02:09:46.367Z","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:05:20.616405Z"}],"osv":[{"id":"CVE-2019-1010091","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","status":"published","published":"2019-07-17T17:15:13.2Z","modified":"2026-10-20T10:52:16.715611238Z","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:10.051046Z"},{"id":"UBUNTU-CVE-2019-1010091","description":"tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.","status":"published","published":"2019-07-17T17:15:00Z","modified":"2025-10-24T04:48:12Z","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:18.772093Z"},{"id":"GHSA-c78w-2gw7-gjv3","title":"XSS in TinyMCE","description":"### Impact\nA cross-site scripting (XSS) vulnerability was discovered in: the core parser and `media` plugin. 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.9 or lower and TinyMCE 5.2.1 or lower.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 4.9.10 and 5.2.2 by improved HTML parsing and sanitization logic.\n\n### Workarounds\nThe workarounds available are:\n- disable the media plugin and manually sanitize CDATA content (see below)\nor\n- upgrade to either TinyMCE 4.9.10 or TinyMCE 5.2.2\n\n#### Example: Manually strip CDATA elements\n```js\nsetup: function(editor) {\n  editor.on('PreInit', function() {\n    editor.parser.addNodeFilter('#cdata', function(nodes) {\n      for (var i = 0; i \u003c nodes.length; i++) {\n        nodes[i].remove();\n      }\n    });\n  });\n}\n```\n\n### Acknowledgements\nTiny Technologies would like to thank Michał Bentkowski and [intivesec](https://github.com/intivesec) for discovering these vulnerabilities.\n\n### References\nhttps://www.tiny.cloud/docs/release-notes/release-notes522/#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)","status":"published","published":"2020-05-11T20:00:15Z","modified":"2023-11-08T04:00:40.663547Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.571161Z"}]}}
