What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: ckeditor5 25.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21254 or the next vulnerability affects your stack