Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @ckeditor/ckeditor5-widget
  4. ›
  5. CVE-2021-21391

CVE-2021-21391: Uncontrolled Resource Consumption

April 29, 2021 (updated November 7, 2023)

CKEditor 5 provides a WYSIWYG editing solution. 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21391

Code Behaviors & Features

Detect and mitigate CVE-2021-21391 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 27.0.0

Fixed versions

  • 27.0.0

Solution

Upgrade to version 27.0.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/@ckeditor/ckeditor5-widget/CVE-2021-21391.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.