CVE-2021-21391: ckeditor ckeditor5 Uncontrolled Resource Consumption
Vulnerability summary
CVE-2021-21391 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in ckeditor ckeditor5. EPSS estimates a 1.67% chance of exploitation in the next 30 days, higher than 76.4% of scored vulnerabilities.
Timeline
- 29-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.67%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.67% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ckeditor9 products
- ckeditor5< 27.0.0
- ckeditor5-engine< 27.0.0
- ckeditor5-font< 27.0.0
- ckeditor5-image< 27.0.0
- ckeditor5-list< 27.0.0
@ckeditor8 products
- ckeditor5-engine< 27.0.0
- ckeditor5-font< 27.0.0
- ckeditor5-image< 27.0.0
- ckeditor5-list< 27.0.0
- ckeditor5-markdown-gfm< 27.0.0
Ubuntu1 product
- ckeditor3All versions (No fix recorded)
3 vendors · 18 products
References
21 links- www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfmX Refsource MISC
- github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mjX Refsource CONFIRMREPORTWEBThird Party Advisory
- www.npmjs.com/package/%40ckeditor/ckeditor5-engineX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-fontX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-imageX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-listX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-media-embedX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-officeX Refsource MISC
- www.npmjs.com/package/%40ckeditor/ckeditor5-widgetX Refsource MISC