CKEditor: Cross-site scripting (XSS) in the engine package
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability is caused by a prototype pollution issue in the es-toolkit library used in the CKEditor 5 codebase. This vulnerability could lead to unauthorized JavaScript code execution when the editor processes incoming style attribute values.
The underlying issue has been patched by the library maintainers, and the fix has been incorporated into CKEditor 5.
Patches
The problem has been recognized and patched. The fix is available in version 48.5.1 (and above) and 47.7.4 (LTS).
For more information
Email security@cksource.com with any questions or comments about this advisory.
What to do
Update to version 48.5.1 (or above) or 47.7.4 (LTS).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | ckeditor5 | >= 45.0.0, < 47.7.4, >= 48.0.0, < 48.5.1 | 47.7.4, 48.5.1 |
| npm package | @ckeditor/ckeditor5-engine | >= 45.0.0, < 47.7.4, >= 48.0.0, < 48.5.1 | 47.7.4, 48.5.1 |
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
- https://github.com/ckeditor/ckeditor5/releases/tag/v47.7.4
- https://github.com/ckeditor/ckeditor5/releases/tag/v48.5.1
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
ckeditor5, @ckeditor/ckeditor5-engine- Disclosed
- 27.10.2026
- Updated
- 03.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-rh54-vffm-5fvp - CC BY 4.0
Vulnerability history: ckeditor5
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 09.2024 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 2
- Low 2
Disclosures per year
- 2024: 1
- 2025: 1
- 2026: 3
-
CKEditor: Cross-site scripting (XSS) in the engine package this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.