CVE-2021-21391
Regular expression Denial of Service in multiple packages
Reported by github_m · Published April 29, 2021
@ckeditor/ckeditor5-list is fixed in 27.0.0 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| @ckeditor/ckeditor5-list | npm | 27.0.0 |
| @ckeditor/ckeditor5-font | npm | 27.0.0 |
| @ckeditor/ckeditor5-engine | npm | 27.0.0 |
| @ckeditor/ckeditor5-media-embed | npm | 27.0.0 |
| @ckeditor/ckeditor5-markdown-gfm | npm | 27.0.0 |
| @ckeditor/ckeditor5-image | npm | 27.0.0 |
| @ckeditor/ckeditor5-widget | npm | 27.0.0 |
| ckeditor5-markdown-gfm | ckeditor | 27.0.0 |
| ckeditor5-engine | ckeditor | 27.0.0 |
| ckeditor5-paste-from-office | ckeditor | 27.0.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ckeditor | ckeditor5 | < 27.0.0 |
| ckeditor | ckeditor5 | 0 |
Timeline
- Apr 6, 2021 CVE Published
- Apr 29, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 9, 2026 Security Advisory
- Aug 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-21391
vulnetix vdb fixes CVE-2021-21391
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21391/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart