Skip to content

CVE-2021-21254 Regular expression Denial of Service in Markdown plugin

MediumCVSS 6.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

Description

CKEditor 5 is an open source rich text editor framework with a modular architecture. The CKEditor 5 Markdown plugin (@ckeditor/ckeditor5-markdown-gfm) before version 25.0.0 has a regex denial of service (ReDoS) vulnerability. The vulnerability allowed to abuse link recognition regular expression, which could cause a significant performance drop resulting in browser tab freeze. It affects all users using CKEditor 5 Markdown plugin at version <= 24.0.0. The problem has been recognized and patched. The fix will be available in version 25.0.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) < 25.0.0; <= 24.0.0 25.0.0 Fixed
ckeditor5 < 25.0.0; = < 25.0.0 25.0.0 Fixed

Affected products

ProductAffected versionsFixed in
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) <= 24.0.0 No fix listed
ckeditor5 < 25.0.0 25.0.0
ckeditor5 = < 25.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) < 25.0.0 25.0.0

References