Description
CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. From 45.0.0 until 47.7.4 and 48.5.1, the engine uses a vulnerable es-toolkit version whose prototype-pollution behavior can be reached while CKEditor processes incoming style attribute values. Crafted editor content can thereby cause unauthorized JavaScript execution in the browser. This issue is fixed in versions 47.7.4 and 48.5.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ckeditor | ckeditor5 | >= 45.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 | >= 45.0.0, < 47.7.4 | 47.7.4 | GHSA-rh54-vffm-5fvp |
| npm | @ckeditor/ckeditor5-engine | >= 48.0.0, < 48.5.1 | 48.5.1 | GHSA-rh54-vffm-5fvp |
| npm | ckeditor5 | >= 45.0.0, < 47.7.4 | 47.7.4 | GHSA-rh54-vffm-5fvp |
| npm | ckeditor5 | >= 48.0.0, < 48.5.1 | 48.5.1 | GHSA-rh54-vffm-5fvp |
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-rh54-vffm-5fvp
- 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