CVE-2022-31175 – Cross-site scripting caused by the editor instance destroying process in ckeditor5
https://notcve.org/view.php?id=CVE-2022-31175
CKEditor 5 is a JavaScript rich text editor. A cross-site scripting vulnerability has been discovered affecting three optional CKEditor 5's packages in versions prior to 35.0.1. The vulnerability allowed to trigger a JavaScript code after fulfilling special conditions. The affected packages are `@ckeditor/ckeditor5-markdown-gfm`, `@ckeditor/ckeditor5-html-support`, and `@ckeditor/ckeditor5-html-embed`. The specific conditions are 1) Using one of the affected packages. • https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-42wq-rch8-6f6j • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') •
CVE-2021-21391 – Regular expression Denial of Service in multiple packages
https://notcve.org/view.php?id=CVE-2021-21391
CKEditor 5 provides a WYSIWYG editing solution. This CVE affects the following npm packages: ckeditor5-engine, ckeditor5-font, ckeditor5-image, ckeditor5-list, ckeditor5-markdown-gfm, ckeditor5-media-embed, ckeditor5-paste-from-office, and ckeditor5-widget. Following an internal audit, a regular expression denial of service (ReDoS) vulnerability has been discovered in multiple CKEditor 5 packages. The vulnerability allowed to abuse particular regular expressions, which could cause a significant performance drop resulting in a browser tab freeze. It affects all users using the CKEditor 5 packages listed above at version <= 26.0.0. • https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine https://www.npmjs.com/package/%40ckeditor/ckeditor5-font https://www.npmjs.com/package/%40ckeditor/ckeditor5-image https://www.npmjs.com/package/%40ckeditor/ckeditor5-list https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm https://www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed https://www.npmjs.com/package/%40ckeditor/ckeditor5-past • CWE-400: Uncontrolled Resource Consumption •