{"id":"CVE-2021-21254","published":"2021-01-29T21:55:14Z","modified":"2024-08-03T18:09:14Z","title":"Regular expression Denial of Service in Markdown plugin","vendor":"ckeditor","product":"ckeditor5","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01814,"percentile":0.79195,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm","tags":["x_refsource_MISC"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.84},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor5","versions":["< 25.0.0"]}],"affected":[{"ecosystem":"npm","package":"@ckeditor/ckeditor5-markdown-gfm","vulnerableRanges":["<25.0.0"],"patched":["25.0.0"],"from":["GHSA-hgmg-hhc8-g5wr"],"provenance":"source"}],"summary":{"text":"The Markdown plugin (@ckeditor/ckeditor5-markdown-gfm) in CKEditor 5, the open source rich text editor framework, contains a regular expression denial of service flaw in its link recognition regex, affecting versions up to and including 24.0.0. An attacker with low-privilege access who can supply content to the editor over the network can trigger the expensive regex processing without any user interaction, causing a significant slowdown that freezes the browser tab.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:13Z"},"euvd":{"id":"EUVD-2021-0505","exploited":false,"provenance":"source"}}