Vulnerability Description
CKEditor 5 provides a WYSIWYG editing solution. This CVE affects the following npm packages: ckeditor5-engine, ckeditor5-font, ckeditor5-image, ckeditor5-list, ckeditor5-markdown-gfm, ckeditor5-media-embed, ckeditor5-paste-from-office, and ckeditor5-widget. Following an internal audit, a regular expression denial of service (ReDoS) vulnerability has been discovered in multiple CKEditor 5 packages. The vulnerability allowed to abuse particular regular expressions, which could cause a significant performance drop resulting in a browser tab freeze. It affects all users using the CKEditor 5 packages listed above at version <= 26.0.0. The problem has been recognized and patched. The fix will be available in version 27.0.0.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ckeditor | Ckeditor5-Engine | < 27.0.0 |
| Ckeditor | Ckeditor5-Font | < 27.0.0 |
| Ckeditor | Ckeditor5-Image | < 27.0.0 |
| Ckeditor | Ckeditor5-List | < 27.0.0 |
| Ckeditor | Ckeditor5-Markdown-Gfm | < 27.0.0 |
| Ckeditor | Ckeditor5-Media-Embed | < 27.0.0 |
| Ckeditor | Ckeditor5-Paste-From-Office | < 27.0.0 |
| Ckeditor | Ckeditor5-Widget | < 27.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mjThird Party Advisory
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-font
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-image
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-list
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-office
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-widget
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mjThird Party Advisory
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-font
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-image
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-list
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
FAQ
What is CVE-2021-21391?
CVE-2021-21391 is a vulnerability with a CVSS score of 6.5 (MEDIUM). CKEditor 5 provides a WYSIWYG editing solution. This CVE affects the following npm packages: ckeditor5-engine, ckeditor5-font, ckeditor5-image, ckeditor5-list, ckeditor5-markdown-gfm, ckeditor5-media-...
How severe is CVE-2021-21391?
CVE-2021-21391 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-21391?
Check the references section above for vendor advisories and patch information. Affected products include: Ckeditor Ckeditor5-Engine, Ckeditor Ckeditor5-Font, Ckeditor Ckeditor5-Image, Ckeditor Ckeditor5-List, Ckeditor Ckeditor5-Markdown-Gfm.