{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21254","id":"CVE-2021-21254","title":"Regular expression Denial of Service in Markdown plugin","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","descriptionLong":"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":"2021-01-29T21:55:14.000Z","updated":"2026-10-20T10:54:27.785023530Z","reserved":"2020-12-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["ckeditor5"],"affectedProducts":[{"vendor":"ckeditor","product":"ckeditor5","defaultStatus":null,"versions":[{"status":"affected","version":"< 25.0.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@ckeditor/ckeditor5-markdown-gfm","purl":"pkg:npm/%40ckeditor/ckeditor5-markdown-gfm","ranges":["<25.0.0"],"fixed":["25.0.0"],"advisory":"GHSA-hgmg-hhc8-g5wr"}],"cwes":["CWE-400"],"aliases":["GHSA-hgmg-hhc8-g5wr"],"references":[{"url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21254","tags":["advisory"]},{"url":"https://github.com/ckeditor/ckeditor5","tags":["package"]},{"url":"https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01814,"epssPercentile":0.79195,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21254","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21254","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21254","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hgmg-hhc8-g5wr","ok":true,"note":"GHSA-hgmg-hhc8-g5wr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21254","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}