CVE-2021-21391
Publication date 29 April 2021
Last updated 11 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ckeditor | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty | Not in release | |
| ckeditor3 | 25.10 questing | Not in release |
| 25.04 plucky |
Needs evaluation
|
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| 18.04 LTS bionic |
Needs evaluation
|
|
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release |
Notes
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
Other references
- https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
- https://www.npmjs.com/package/@ckeditor/ckeditor5-engine
- https://www.npmjs.com/package/@ckeditor/ckeditor5-image
- https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
- https://www.npmjs.com/package/@ckeditor/ckeditor5-list
- https://www.npmjs.com/package/@ckeditor/ckeditor5-font
- https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office
- https://www.npmjs.com/package/@ckeditor/ckeditor5-widget
- https://www.cve.org/CVERecord?id=CVE-2021-21391