CVE-2021-21254: Regular expression Denial of Service in Markdown plugin
Vulnerability summary
CVE-2021-21254 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in ckeditor ckeditor5. EPSS estimates a 1.81% chance of exploitation in the next 30 days, higher than 79.4% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-01-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
CKEditor 5 is an open source rich text editor framework with a modular architecture. The CKEditor 5 Markdown plugin (@ckeditor/ckeditor5-markdown-gfm) before version 25.0.0 has a regex denial of service (ReDoS) vulnerability. The vulnerability allowed to abuse link recognition regular expression, which could cause a significant performance drop resulting in browser tab freeze. It affects all users using CKEditor 5 Markdown plugin at version <= 24.0.0. The problem has been recognized and patched. The fix will be available in version 25.0.0.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.81%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.81% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
@ckeditor1 product
- ckeditor5-markdown-gfm< 25.0.0
Ckeditor1 product
- ckeditor5< 25.0.0
2 vendors · 2 products
References
6 links- github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wrX Refsource CONFIRMWEBThird Party Advisory
- github.com/ckeditor/ckeditor5/releases/tag/v25.0.0X Refsource MISCWEBRelease NotesThird Party Advisory
- www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfmX Refsource MISC