Description
CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. From 29.0.0 until 47.7.4 and 48.5.1, specially crafted markup can trigger cross-site scripting when General HTML Support is enabled and specifically configured to allow object content. Processing that content can execute attacker-controlled JavaScript in a browser context isolated from the origin of the application embedding the editor. This issue is fixed in versions 47.7.4 and 48.5.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ckeditor | ckeditor5 | >= 29.0.0, < 47.7.4, >= 48.0.0, < 48.5.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | request-tracker4 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | ckeditor3 +2 | No fix yet | — |
| Ubuntu 22.04 LTS | ckeditor3 +2 | No fix yet | — |
| Ubuntu 20.04 LTS | ckeditor3 +2 | No fix yet | — |
| Ubuntu 18.04 LTS | ckeditor3 +1 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | request-tracker4 +1 | No fix yet | — |
| Ubuntu Pro 24.04 LTS | ckeditor | No fix yet | — |
| Ubuntu Pro 22.04 LTS | ckeditor | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ckeditor | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ckeditor +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ckeditor | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @ckeditor/ckeditor5-engine | >= 29.0.0, < 47.7.4 | 47.7.4 | GHSA-v6mg-96c6-gmpq |
| npm | @ckeditor/ckeditor5-engine | >= 48.0.0, < 48.5.1 | 48.5.1 | GHSA-v6mg-96c6-gmpq |
| npm | ckeditor5 | >= 29.0.0, < 47.7.4 | 47.7.4 | GHSA-v6mg-96c6-gmpq |
| npm | ckeditor5 | >= 48.0.0, < 48.5.1 | 48.5.1 | GHSA-v6mg-96c6-gmpq |
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-v6mg-96c6-gmpq
- https://github.com/ckeditor/ckeditor5/commit/4d9c5bb34f63cd956d15ccafbe584e14280c86a0
- https://github.com/ckeditor/ckeditor5/commit/a750e38635db6a18c5b11599c09f4fd702850423
- https://github.com/ckeditor/ckeditor5/releases/tag/v47.7.4
- https://github.com/ckeditor/ckeditor5/releases/tag/v48.5.1