# CVE-2021-21254: Regular expression Denial of Service in Markdown plugin

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-01-29 · Modified: 2024-08-03
- Aliases: GHSA-hgmg-hhc8-g5wr
- Record: https://cvemate.com/vulnerability/CVE-2021-21254 · JSON: https://cvemate.com/vulnerability/CVE-2021-21254/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.814%, percentile 79.414%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ckeditor ckeditor5: \< 25.0.0
- @ckeditor ckeditor5-markdown-gfm (Npm): \< 25.0.0

## References

- <https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr>
- <https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0>
- <https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21254>
- <https://github.com/ckeditor/ckeditor5>
- <https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm>

---

Data as of 2026-12-05T06:29:13.439Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
