VDB

CVE-2021-21391

CVE-2021-21391 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
@ckeditor/ckeditor5-listnpm27.0.0
@ckeditor/ckeditor5-fontnpm27.0.0
@ckeditor/ckeditor5-enginenpm27.0.0
@ckeditor/ckeditor5-media-embednpm27.0.0
@ckeditor/ckeditor5-markdown-gfmnpm27.0.0
@ckeditor/ckeditor5-imagenpm27.0.0
@ckeditor/ckeditor5-widgetnpm27.0.0
ckeditor5-markdown-gfmckeditor27.0.0
ckeditor5-engineckeditor27.0.0
ckeditor5-paste-from-officeckeditor27.0.0

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
ckeditorckeditor5< 27.0.0
ckeditorckeditor50

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

References

  • x_refsource_MISC
  • x_refsource_CONFIRM
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›