CVE-2026-116688: CKEditor: Cross-site scripting (XSS) in the engine package
CKEditor 5's engine package can run attacker JavaScript (XSS) when the editor processes incoming `style` attribute values. The cause is a prototype pollution bug in the `es-toolkit` library. Upgrade `ckeditor5` and `@ckeditor/ckeditor5-engine` to 47.7.4 (LTS line) or 48.5.1.
Published Oct 27, 2026 · Analysis Nov 1, 2026
What an attacker can do
CKEditor 5 uses es-toolkit helpers inside the engine. The advisory says a prototype pollution flaw in that library lets crafted style attribute values lead to unauthorized JavaScript execution. The advisory does not give the exact payload.
The attacker needs a way to get content into an editor session: HTML pasted or loaded into the editor, or stored content that a user opens for editing. The CVSS vector marks network access, low privileges and no user interaction, with high confidentiality and integrity impact. In a real app, script that runs in the editor page acts as the logged-in user. It can read the session's data, call APIs and change documents. Collaborative or CMS setups, where one user's content opens in another user's editor, carry the most risk.
The library maintainers patched the underlying issue. The CKEditor fix commit bumps es-toolkit from 1.45.1 to 1.52.0 and also touches domconverter.ts in the engine.
Who is affected
Affected: ckeditor5 and @ckeditor/ckeditor5-engine from 45.0.0 up to but not including 47.7.4, and from 48.0.0 up to but not including 48.5.1. Check what you have installed, including transitive copies:
npm ls ckeditor5 @ckeditor/ckeditor5-engineVersions below 45.0.0 are not listed as affected.
ckeditor5
- Ecosystem
- npm
- Affected
- >= 45.0.0, < 47.7.4
- Fixed in
- 47.7.4
- Check
npm ls ckeditor5
@ckeditor/ckeditor5-engine
- Ecosystem
- npm
- Affected
- >= 45.0.0, < 47.7.4
- Fixed in
- 47.7.4
- Check
npm ls @ckeditor/ckeditor5-engine
ckeditor5
- Ecosystem
- npm
- Affected
- >= 48.0.0, < 48.5.1
- Fixed in
- 48.5.1
- Check
npm ls ckeditor5
@ckeditor/ckeditor5-engine
- Ecosystem
- npm
- Affected
- >= 48.0.0, < 48.5.1
- Fixed in
- 48.5.1
- Check
npm ls @ckeditor/ckeditor5-engine
How to fix it
Upgrade to 47.7.4 if you are on the 47.x LTS line, or to 48.5.1 or later on the 48.x line:
npm install [email protected] @ckeditor/[email protected]The 48.5.1 release moves es-toolkit to 1.52.0. Rebuild and redeploy your editor bundle afterwards, since CKEditor ships inside your front-end build. The advisory gives no workaround.
How to tell if you were hit
Search stored editor content for style attributes with unusual keys such as __proto__, constructor or prototype, or with script-like values. Check browser-side error reports and CSP violation reports from pages that host the editor. Review document revision history for edits you cannot explain. The advisory lists no log signature, so confirm your installed version first.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
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 will be available in version 48.5.1 (and above) and 47.7.4 (LTS).
For more information
Email us at [[email protected]](mailto:[email protected]) if you have any questions or comments about this advisory.
Questions
- Is CKEditor 5 version 47.7.3 affected by CVE-2026-116688?
Yes. Any 47.x release from 45.0.0 up to 47.7.3 is in the vulnerable range. Version 47.7.4 contains the fix.
- Is the bug in CKEditor or in es-toolkit?
The advisory says the root cause is a prototype pollution issue in
es-toolkit, which CKEditor 5 uses. The library maintainers fixed it, and CKEditor shipped the fix by upgrading its dependency.- Is it exploited in the wild?
The sources do not report exploitation, and the advisory publishes no payload. It is not in CISA's KEV catalog. Its EPSS score is 0.005.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116687
CKEditor: Cross-site scripting (XSS) in the engine package
low3.1Oct 27, 2026CVE-2026-28343
CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package
medium6.4Mar 4, 2026CVE-2025-58064
CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package
low2.3Sep 3, 2025CVE-2024-45613
Cross-site scripting (XSS) in the clipboard package
medium7.2Sep 25, 2024
