Vulnerabilities · 2021 · Ckeditor
CVE-2021-21391
Ckeditor5-engine vulnerability
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.
Affected products
Ckeditor5-engine, Ckeditor5-font, Ckeditor5-image, Ckeditor5-list, Ckeditor5-markdown-gfm, Ckeditor5-media-embed, Ckeditor5-paste-from-office, Ckeditor5-widget. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ckeditor5-engine runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj · Third Party Advisory
- www.npmjs.com/package/%40ckeditor/ckeditor5-engine
- www.npmjs.com/package/%40ckeditor/ckeditor5-font
- www.npmjs.com/package/%40ckeditor/ckeditor5-image
- www.npmjs.com/package/%40ckeditor/ckeditor5-list
- www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
- www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed
- www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-office
- nvd.nist.gov/vuln/detail/CVE-2021-21391
- cve.org/CVERecord?id=CVE-2021-21391
More vulnerabilities in Ckeditor products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.