CVE-2021-21391: CKEditor 5 - Regular Expression Denial of Service
- Cve: CVE-2021-21391
- Name: CKEditor 5 - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause browser tab freezes, leading to denial of service and potential disruption of user experience.
- Remediation: Update to version 27.0.0 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: User needs to load affected CKEditor 5 packages
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01667
- Epss percentile: 0.7737
- Assignee: [email protected]
- Published at: 2021-04-29T01:15:07Z
- Age in days: 2035
- Modified at: 2026-06-17T03:35:28Z
- Patch available: yes
- References total: 9
- Products total: 8
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21391
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Affected: < 27.0.0
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ckeditor/ckeditor5 | releases, security_advisory | yes | /v1/repositories/ckeditor/ckeditor5 |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 8
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts