SecurityContext

CVE-2021-21391: CKEditor 5 - Regular Expression Denial of Service

  • Cve: CVE-2021-21391
  • Name: CKEditor 5 - Regular Expression Denial of Service
  • 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.
  • Impact: Attackers can cause browser tab freezes, leading to denial of service and potential disruption of user experience.
  • Remediation: Update to version 27.0.0 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: User needs to load affected CKEditor 5 packages
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01667
  • Epss percentile: 0.7737
  • Assignee: [email protected]
  • Published at: 2021-04-29T01:15:07Z
  • Age in days: 2035
  • Modified at: 2026-06-17T03:35:28Z
  • Patch available: yes
  • References total: 9
  • Products total: 8
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21391
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mjThird Party Advisory
https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine
https://www.npmjs.com/package/%40ckeditor/ckeditor5-font
https://www.npmjs.com/package/%40ckeditor/ckeditor5-image
https://www.npmjs.com/package/%40ckeditor/ckeditor5-list
https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
https://www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed
https://www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-office
https://www.npmjs.com/package/%40ckeditor/ckeditor5-widget

Products

Same in every row:

  • Affected: < 27.0.0
  • Platform bound: no
  • Sources: nvd
ProductUrl
ckeditor:ckeditor5-markdown-gfm/v1/products/ckeditor/ckeditor5-markdown-gfm
ckeditor:ckeditor5-engine/v1/products/ckeditor/ckeditor5-engine
ckeditor:ckeditor5-font/v1/products/ckeditor/ckeditor5-font
ckeditor:ckeditor5-image/v1/products/ckeditor/ckeditor5-image
ckeditor:ckeditor5-list/v1/products/ckeditor/ckeditor5-list
ckeditor:ckeditor5-media-embed/v1/products/ckeditor/ckeditor5-media-embed
ckeditor:ckeditor5-paste-from-office/v1/products/ckeditor/ckeditor5-paste-from-office
ckeditor:ckeditor5-widget/v1/products/ckeditor/ckeditor5-widget

Projects

RepositoryLink kindsIndexedUrl
ckeditor/ckeditor5releases, security_advisoryyes/v1/repositories/ckeditor/ckeditor5

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Packages: 8

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts