HOMEVULNERABILITIESCVE-2021-21391
MEDIUM

CVE-2021-21391

CWE-400Published: April 29, 2021· Updated: Jun 17, 2026

6.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2021-21391 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Vendors & Products

ckeditor8 product(s)
ckeditor5-engineckeditor5-fontckeditor5-imageckeditor5-listckeditor5-markdown-gfmckeditor5-media-embedckeditor5-paste-from-officeckeditor5-widget
Source: NVD CPE · 8 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (18)

Quick Facts

CVE IDCVE-2021-21391
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-400
CISA KEVNo
Affected1 vendor(s)
PublishedApr 29, 2021

Related CVEs (CWE-400)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-21391 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.