CVE-2021-21391
MEDIUMCKEditor 5 < 27.0.0 - Regular Expression Denial of Service
Title source: llmDescription
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.
References (9)
Core 9
Core References
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
Third Party Advisory x_refsource_confirm
https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-font
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-image
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-list
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-office
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40ckeditor/ckeditor5-widget
Scores
CVSS v3
6.5
EPSS
0.0167
EPSS Percentile
73.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-400
Status
published
Products (16)
ckeditor/ckeditor5-engine
< 27.0.0
ckeditor/ckeditor5-engine
0 - 27.0.0npm
ckeditor/ckeditor5-font
< 27.0.0
ckeditor/ckeditor5-font
0 - 27.0.0npm
ckeditor/ckeditor5-image
< 27.0.0
ckeditor/ckeditor5-image
0 - 27.0.0npm
ckeditor/ckeditor5-list
< 27.0.0
ckeditor/ckeditor5-list
0 - 27.0.0npm
ckeditor/ckeditor5-markdown-gfm
< 27.0.0
ckeditor/ckeditor5-markdown-gfm
0 - 27.0.0npm
... and 6 more
Published
Apr 29, 2021
Tracked Since
Feb 18, 2026