CKEditor 5 v48.5.1 and LTS v47.7.4 Release Highlights: Security Fixes
3min read
|Two cross-site scripting (XSS) vulnerabilities have been discovered in the CKEditor 5 engine. Both issues are now resolved, and we recommend updating your installation as soon as possible.
The first comes from a third-party library that CKEditor 5 depends on and relates to how the editor reads style attribute values. The second is limited to installations that enable General HTML Support with a configuration that allows inserting objects.
These fixes ship in two separate releases because they affect both the standard CKEditor 5 line and its LTS Edition. Both releases contain the same two fixes. Update to the release that matches your track:
-
If you are on the standard CKEditor 5 line, update to v48.5.1
-
If you are on the CKEditor 5 LTS Edition, update to v47.7.4
Prototype pollution via a dependencyUPDATED
The first vulnerability, GHSA-rh54-vffm-5fvp, traces to es-toolkit, a library that CKEditor 5 relies on. A prototype pollution flaw in that library meant a crafted style attribute value could trigger JavaScript execution as the editor read it. The es-toolkit maintainers have fixed the flaw at its source, and that fix now ships as part of CKEditor 5.
You can find the specifics in the security advisory.
Object insertion with General HTML SupportUPDATED
The second vulnerability, GHSA-v6mg-96c6-gmpq, has a much narrower reach. It applies only to installations that enable General HTML Support and configure it to allow inserting objects.
On these installations, crafted content could run JavaScript in a browser context that operates outside the origin of the application embedding the editor. Installations that do not use this General HTML Support configuration are unaffected. The security advisory has the full details.
Publication of the official CVE records for both of these issues is pending. Due to a significant increase in CVE publication requests across the industry, GitHub has indicated that the process may take several weeks.
Quick links for CKEditor v48.5.1
Quick links for CKEditor LTS v47.7.4
Interested in LTS?
If your organization values long-term stability over continuous updates, the CKEditor 5 LTS Edition may be worth exploring. You can learn more about it on our introduction post or contact our sales team to obtain a license.
Learn more about previous CKEditor 5 versions
-
CKEditor 5 v48.4.0 Release Highlights: AI Context Library and Image Understanding
-
CKEditor 5 v48.3.0 Release Highlights: Programmatic API for CKEditor AI
-
CKEditor 5 v48.2.0 Release Highlights: AI Chat Improvements, Media Embed, and More
-
CKEditor 5 v47.7.0 LTS Release Highlights: Entering the Maintenance Phase
Tags: