Cross-site scripting (XSS) in the real-time collaboration package
ckeditor5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @ckeditor/ckeditor5-real-time-collaboration npm |
|
|
| ckeditor5-premium-features npm |
|
|
ckeditor5
| Product | Affected | Fixed in |
|---|---|---|
| @ckeditor/ckeditor5-real-time-collaboration npm |
|
|
| ckeditor5-premium-features npm |
|
|
CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. During a recent internal audit, a Cross-Site Scripting (XSS) vulnerability was discovered in the CKEditor 5 real-time collaboration package. This vulnerability affects user markers, which represent users' positions within the document. It can lead to unauthorized JavaScript code execution, which might happen with a very specific editor and token endpoint configuration. This vulnerability affects only installations with Real-time collaborative editing enabled. The problem has been recognized and patched. The fix is available in version 44.2.1 (and above). Users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
An XSS vulnerability in CKEditor 5 real-time collaboration user markers can allow unauthorized JavaScript execution. It affects installations with real-time collaborative editing enabled and may be triggered only with a specific editor and token endpoint configuration. The input does not specify authentication or user-interaction requirements.
Check installations using npm @ckeditor/ckeditor5-real-time-collaboration versions >=41.3.0 <44.2.1 or ckeditor5-premium-features versions >=42.0.0 <44.2.1.