Skip to content

Regular expression Denial of Service in multiple packages

Low
Mgsy published GHSA-3rh3-wfr4-76mj Mar 31, 2021

Package

No package listed

Affected versions

<= 26.0.0

Patched versions

27.0.0

Description

Affected packages

  • ckeditor5-engine
  • ckeditor5-font
  • ckeditor5-image
  • ckeditor5-list
  • ckeditor5-markdown-gfm
  • ckeditor5-media-embed
  • ckeditor5-paste-from-office
  • ckeditor5-widget

Impact

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.

Patches

The problem has been recognized and patched. The fix will be available in version 27.0.0.

For more information

Email us at [email protected] if you have any questions or comments about this advisory.

Acknowledgements

The CKEditor 5 team would like to thank Yeting Li for recognizing and reporting these vulnerabilities.

Severity

Low

CVE ID

CVE-2021-21391

Weaknesses

No CWEs