Security mailing lists by PureSourceCode

CVE-2021-21391

MEDIUM 6.5CVSS 3.1

Regular expression Denial of Service in multiple packages

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.

Published
29 Apr 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-3rh3-wfr4-76mj
Sources
NVDJSONOSV GHSA-3rh3-wfr4-76mjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ckeditor ckeditor5-engine
cpe:2.3:a:ckeditor:ckeditor5-engine:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-font
cpe:2.3:a:ckeditor:ckeditor5-font:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-image
cpe:2.3:a:ckeditor:ckeditor5-image:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-list
cpe:2.3:a:ckeditor:ckeditor5-list:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-markdown-gfm
cpe:2.3:a:ckeditor:ckeditor5-markdown-gfm:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-media-embed
cpe:2.3:a:ckeditor:ckeditor5-media-embed:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-paste-from-office
cpe:2.3:a:ckeditor:ckeditor5-paste-from-office:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
NVD ckeditor ckeditor5-widget
cpe:2.3:a:ckeditor:ckeditor5-widget:*:*:*:*:*:node.js:*:*
< 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-engine < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-font < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-image < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-list < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-markdown-gfm < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-media-embed < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-paste-from-office < 27.0.0 27.0.0
OSV npm @ckeditor/ckeditor5-widget < 27.0.0 27.0.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Apr 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.