CVE-2021-21254
MEDIUM 6.5CVSS 3.1CKEditor 5 Markdown plugin Regular expression Denial of Service
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.
- Published
- 29 Jan 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-hgmg-hhc8-g5wr
- Sources
- NVDJSONOSV GHSA-hgmg-hhc8-g5wrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ckeditor | ckeditor5cpe:2.3:a:ckeditor:ckeditor5:*:*:*:*:*:*:*:* |
< 25.0.0 | 25.0.0 |
| OSV | npm | @ckeditor/ckeditor5-markdown-gfm | < 25.0.0 | 25.0.0 |
References
- https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr · Third Party Advisory, WEB
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
- https://nvd.nist.gov/vuln/detail/CVE-2021-21254 · ADVISORY
- https://github.com/ckeditor/ckeditor5 · PACKAGE
- https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 29 Jan 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jan 2021)