CVE-2021-21391

MEDIUMCVSS 6.5/10EPSS 1.67%

Last modified

CVE-2021-21391 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.67% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

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

EPSS Probability
1.67%

73.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CkeditorCkeditor5-Engine< 27.0.0
CkeditorCkeditor5-Font< 27.0.0
CkeditorCkeditor5-Image< 27.0.0
CkeditorCkeditor5-List< 27.0.0
CkeditorCkeditor5-Markdown-Gfm< 27.0.0
CkeditorCkeditor5-Media-Embed< 27.0.0
CkeditorCkeditor5-Paste-From-Office< 27.0.0
CkeditorCkeditor5-Widget< 27.0.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-21391?
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.
How severe is CVE-2021-21391?
CVE-2021-21391 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.67% probability of exploitation in the next 30 days.
How do I fix CVE-2021-21391?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-21391?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST