{"id":"CVE-2021-21254","state":"PUBLISHED","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 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.","publishedAt":"2021-01-29T21:55:14.000Z","updatedAt":"2024-08-03T18:09:14.916Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ckeditor ckeditor5"],"affected":[{"vendor":"ckeditor","product":"ckeditor5","versions":[{"version":"< 25.0.0","status":"affected"}]}],"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"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21254.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21254","state":"PUBLISHED","datePublished":"2021-01-29T21:55:14.000Z","dateUpdated":"2024-08-03T18:09:14.916Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"Regular expression Denial of Service in Markdown plugin","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ckeditor","product":"ckeditor5","versions":[{"version":"< 25.0.0","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-01-29T21:55:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-hgmg-hhc8-g5wr","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21254","STATE":"PUBLIC","TITLE":"Regular expression Denial of Service in Markdown plugin"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ckeditor5","version":{"version_data":[{"version_value":"< 25.0.0"}]}}]},"vendor_name":"ckeditor"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr","refsource":"CONFIRM","url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr"},{"name":"https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0","refsource":"MISC","url":"https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0"},{"name":"https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm","refsource":"MISC","url":"https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm"}]},"source":{"advisory":"GHSA-hgmg-hhc8-g5wr","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:14.916Z"}}]}}}