High

CKEditor: Cross-site scripting (XSS) in the engine package

  • Disclosed: 27.10.2026
  • Updated: 03.11.2026 10:00

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.

PlatformPackageVulnerable versionsFixed 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

CVSS score 8.1/10
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

  1. 2024: 1
  2. 2025: 1
  3. 2026: 3
  1. Low · 3.1 CVE-2026-116687 >= 29.0.0, < 47.7.4, >= 48.0.0, < 48.5.1 47.7.4, 48.5.1
  2. CKEditor: Cross-site scripting (XSS) in the engine package this entry
    High · 8.1 CVE-2026-116688 >= 45.0.0, < 47.7.4, >= 48.0.0, < 48.5.1 47.7.4, 48.5.1
  3. Medium · 6.4 CVE-2026-28343 >= 29.0.0, < 47.6.0 47.6.0
  4. Low CVE-2025-58064 >= 46.0.0, < 46.0.3, >= 44.2.0, < 45.2.2 46.0.3, 45.2.2
  5. Medium · 7.2 CVE-2024-45613 >= 40.0.0, < 43.1.1 43.1.1

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.