CVE-2025-25299: Cross-site scripting (XSS) in the CKEditor 5 real-time collaboration package
Impact During a recent internal audit, we identified a Cross-Site Scripting (XSS) vulnerability in the CKEditor 5 real-time collaboration package. This vulnerability can lead to unauthorized JavaScript code execution and affects user markers, which represent users' positions within the document. This vulnerability affects only installations with Real-time collaborative editing enabled.
Published Feb 20, 2025
Affected packages
@ckeditor/ckeditor5-real-time-collaboration
- Ecosystem
- npm
- Affected
- >= 41.3.0, <= 44.2.0
- Fixed in
- 44.2.1
- Check
npm ls @ckeditor/ckeditor5-real-time-collaboration
ckeditor5-premium-features
- Ecosystem
- npm
- Affected
- >= 42.0.0, < 44.2.0
- Fixed in
- 44.2.1
- Check
npm ls ckeditor5-premium-features
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
During a recent internal audit, we identified a Cross-Site Scripting (XSS) vulnerability in the CKEditor 5 real-time collaboration package. This vulnerability can lead to unauthorized JavaScript code execution and affects user markers, which represent users' positions within the document.
This vulnerability affects only installations with Real-time collaborative editing enabled.
Patches
The problem has been recognized and patched. The fix will be available in version 44.2.1 (and above).
For more information
Email us at [[email protected]](mailto:[email protected]) if you have any questions or comments about this advisory.
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-j3mm-wmfm-mwvh
- https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration.html?docId=ee1dca024c9b4e44aef039f99ebe6c664
- https://nvd.nist.gov/vuln/detail/CVE-2025-25299
- https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration.html
- https://github.com/ckeditor/ckeditor5/releases/tag/v44.2.1
- https://github.com/advisories/GHSA-j3mm-wmfm-mwvh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
