CKEditor 5 XSS in General HTML Support object content
ckeditor5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ckeditor5 npm |
|
|
| @ckeditor/ckeditor5-engine npm |
|
ckeditor5
| Product | Affected | Fixed in |
|---|---|---|
| ckeditor5 npm |
|
|
| @ckeditor/ckeditor5-engine npm |
|
|
CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. From 29.0.0 until 47.7.4 and 48.5.1, specially crafted markup can trigger cross-site scripting when General HTML Support is enabled and specifically configured to allow object content. Processing that content can execute attacker-controlled JavaScript in a browser context isolated from the origin of the application embedding the editor. This issue is fixed in versions 47.7.4 and 48.5.1.
From the CVE record · GitHub_M
CKEditor 5 can execute attacker-controlled JavaScript when it processes specially crafted markup and General HTML Support is enabled and configured to allow object content. The script runs in a browser context isolated from the origin of the application embedding the editor. The input does not specify authentication requirements.
Teams using npm ckeditor5 or @ckeditor/ckeditor5-engine versions >=29.0.0 <47.7.4 or >=48.0.0 <48.5.1 should check their installations.