TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs
tinymce
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tinymce npm |
|
|
| TinyMCE NuGet |
|
|
| tinymce/tinymce Packagist |
tinymce
| Product | Affected | Fixed in |
|---|---|---|
| tinymce npm |
|
|
| TinyMCE NuGet |
|
|
| tinymce/tinymce Packagist |
≥ 6.8.0 · < 7.1.0
|
TinyMCE is an open source rich text editor. From 6.8.0 to before 7.1.0, TinyMCE contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested elements can bypass attribute sanitization and execute arbitrary JavaScript. This vulnerability is fixed in 7.1.0.
From the CVE record · GitHub_M
TinyMCE's sanitizer improperly handles SVG namespace scope. A crafted payload with nested elements can bypass attribute sanitization and execute arbitrary JavaScript when the content is processed. The input does not specify whether authentication or user interaction is required.
Teams using npm tinymce, NuGet TinyMCE, or Packagist tinymce/tinymce versions 6.8.0 to before 7.1.0 should check their installations.