6.5

CVE-2021-21391: Regular expression Denial of Service in multiple packages

Modified
AliasesUBUNTU-CVE-2021-21391GHSA-3rh3-wfr4-76mj
Published 29-04-2021Last modified 03-08-2024

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 77.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 29-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

EPSS trend

Probability

1.67%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.67% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ckeditor9 products
@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
Show all 21 references