CVE-2026-116687
CKEditor: Cross-site scripting (XSS) in the engine package
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 if you have any questions or comments about this advisory.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » ckeditor5via npm ckeditor5 | >= 29.0.0, < 47.7.4>= 48.0.0, < 48.5.1 | 47.7.4, 48.5.1 |
| org.webjars.npm » ckeditor__ckeditor5-enginevia npm @ckeditor/ckeditor5-engine | >= 29.0.0, < 47.7.4>= 48.0.0, < 48.5.1 | 47.7.4, 48.5.1 |
Blast radius
100% of the dependent artifacts (62) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 317 |
| 2 hops | 117 |
| 3 hops | 24 |
| 4 hops | 12 |
Most used dependents
- org.webjars.npm » ckeditor__ckeditor5-core58 usages
- org.webjars.npm » ckeditor__ckeditor5-utils56 usages
- org.webjars.npm » ckeditor__ckeditor5-ui50 usages
- org.webjars.npm » ckeditor546 usages
- org.webjars.npm » ckeditor__ckeditor5-engine34 usages
- org.webjars.npm » ckeditor__ckeditor5-typing21 usages
- org.webjars.npm » ckeditor__ckeditor5-image12 usages
- org.webjars.npm » ckeditor__ckeditor5-widget12 usages
- org.webjars.npm » ckeditor__ckeditor5-heading11 usages
- org.webjars.npm » ckeditor__ckeditor5-list11 usages
- org.webjars.npm » ckeditor__ckeditor5-clipboard11 usages
- org.webjars.npm » ckeditor__ckeditor5-cloud-services10 usages
- org.webjars.npm » ckeditor__ckeditor5-table10 usages
- org.webjars.npm » ckeditor__ckeditor5-link9 usages
- org.webjars.npm » ckeditor__ckeditor5-paragraph9 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (2 packages) . See all on OSV
References
- Webhttps://github.com/ckeditor/ckeditor5/security/advisories/GHSA-v6mg-96c6-gmpq
- Webhttps://github.com/ckeditor/ckeditor5/commit/4d9c5bb34f63cd956d15ccafbe584e14280c86a0
- Webhttps://github.com/ckeditor/ckeditor5/commit/a750e38635db6a18c5b11599c09f4fd702850423
- Packagehttps://github.com/ckeditor/ckeditor5
- Webhttps://github.com/ckeditor/ckeditor5/releases/tag/v47.7.4
- Webhttps://github.com/ckeditor/ckeditor5/releases/tag/v48.5.1
