ckeditor5: CKEditor: Cross-site scripting (XSS) in the engine package
What fixes it
- 47.7.4ckeditor5, npmGitHub
npm install ckeditor5@47.7.4 - 47.7.4@ckeditor/ckeditor5-engine, npmGitHub
npm install @ckeditor/ckeditor5-engine@47.7.4 - 48.5.1ckeditor5, npmGitHub
npm install ckeditor5@48.5.1 - 48.5.1@ckeditor/ckeditor5-engine, npmGitHub
npm install @ckeditor/ckeditor5-engine@48.5.1
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Reports 1
1 outlet mention it. Reports are not confirmation; each links to its source.
Description
Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability could be triggered by inserting specially crafted markup under a specific General HTML Support configuration that allows inserting objects, leading to unauthorized JavaScript code execution in a browser context isolated from the origin of the application embedding the editor.
This vulnerability affects only installations where General HTML Support is enabled and configured to allow the affected HTML content.
Patches
The problem has been recognized and patched. The fix will be available in version 48.5.1 (and above) and 47.7.4 (LTS).
For more information
Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.
Text from GitHub Advisory Database
Affected versions 10
- ckeditor5, npm>= 29.0.0, < 47.7.4GitHub
- @ckeditor/ckeditor5-engine, npm>= 29.0.0, < 47.7.4GitHub
- ckeditor5, npm>= 48.0.0, < 48.5.1GitHub
- @ckeditor/ckeditor5-engine, npm>= 48.0.0, < 48.5.1GitHub
- ckeditor5affected: >= 29.0.0, < 47.7.4CVE List
- ckeditor5affected: >= 48.0.0, < 48.5.1CVE List
- ckeditor5, npmfrom 29.0.0, fixed in 47.7.4OSV
- @ckeditor/ckeditor5-engine, npmfrom 29.0.0, fixed in 47.7.4OSV
- ckeditor5, npmfrom 48.0.0, fixed in 48.5.1OSV
- @ckeditor/ckeditor5-engine, npmfrom 48.0.0, fixed in 48.5.1OSV
References 6
- github.com/ckeditor/ckeditor5/commit/4d9c5bb34f63cd956d15ccafbe584e14280c86a0Fixvia CVE List
- github.com/ckeditor/ckeditor5/commit/a750e38635db6a18c5b11599c09f4fd702850423Fixvia CVE List
- github.com/ckeditor/ckeditor5/releases/tag/v47.7.4Fixvia CVE List
- github.com/ckeditor/ckeditor5/releases/tag/v48.5.1Fixvia CVE List
- github.com/ckeditor/ckeditor5/security/advisories/GHSA-v6mg-96c6-gmpqAdvisoryvia CVE List
- github.com/advisories/GHSA-v6mg-96c6-gmpqAdvisoryvia GitHub