Home / ckeditor / ckeditor5 / CVE-2021-21254
CVE-2021-21254: is it exploited, and which versions of ckeditor5 are affected and fixed?
CVE-2021-21254 is a denial of service (uncontrolled resource consumption) vulnerability in ckeditor5. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: @ckeditor/ckeditor5-markdown-gfm before 25.0.0 (GitHub advisory GHSA-hgmg-hhc8-g5wr). Fixed in 25.0.0 (GitHub advisory GHSA-hgmg-hhc8-g5wr). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-21254?
Regular expression Denial of Service in Markdown plugin
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.
From the CVE record by GitHub_M, last updated August 3, 2024, 18:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ckeditor | ckeditor5 | < 25.0.0 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @ckeditor/ckeditor5-markdown-gfm | < 25.0.0 | 25.0.0 | GHSA-hgmg-hhc8-g5wr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 11, 2022. Summary: CKEditor 5 Markdown plugin Regular expression Denial of Service.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ckeditor | ckeditor5 | before 25.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:35 UTC.
How severe is CVE-2021-21254?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21254 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.81% probability of exploitation activity in the next 30 days, percentile 79.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0 x_refsource_MISC
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 22, 2020
- Published
- January 29, 2021, 21:55 UTC
- CVE record updated
- August 3, 2024, 18:09 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:35 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ckeditor5?
- Oct 27, 2026CVE-2026-116688 ckeditor5: cross-site scripting (XSS)
- Oct 27, 2026CVE-2026-116687 ckeditor5: cross-site scripting (XSS)
- Mar 5, 2026CVE-2026-28343 ckeditor5: cross-site scripting (XSS)
- Nov 7, 2025CVE-2025-61261 Angular: cross-site scripting (XSS)
- Sep 3, 2025CVE-2025-58064 ckeditor5: cross-site scripting (XSS)
- Feb 20, 2025CVE-2025-25299 ckeditor5: cross-site scripting (XSS)
- Sep 25, 2024CVE-2024-45613 ckeditor5: cross-site scripting (XSS)
- Aug 3, 2022CVE-2022-31175 ckeditor5: cross-site scripting (XSS)
Questions about CVE-2021-21254
Is CVE-2021-21254 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.81% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ckeditor5 are affected by CVE-2021-21254?
@ckeditor/ckeditor5-markdown-gfm before 25.0.0, per the GitHub advisory GHSA-hgmg-hhc8-g5wr. The tables above give every range the sources list.
Which version fixes CVE-2021-21254?
25.0.0, per the GitHub advisory GHSA-hgmg-hhc8-g5wr. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21254?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21254?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.