Update dependency ckeditor5 to v45 [SECURITY] #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^44.1.0->^45.0.0GitHub Vulnerability Alerts
CVE-2025-58064
Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 clipboard package. This vulnerability could be triggered by a specific user action, leading to unauthorized JavaScript code execution, if the attacker managed to insert a malicious content into the editor, which might happen with a very specific editor configuration.
This vulnerability affects only installations where the editor configuration meets one of the following criteria:
RawElementis enabledPatches
The problem has been recognized and patched. The fix will be available in version 46.0.3 (and above), and explicitly in version 45.2.2.
For more information
Email us at [email protected] if you have any questions or comments about this advisory.
Release Notes
ckeditor/ckeditor5 (ckeditor5)
v45.2.2Compare Source
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 clipboard package (
CVE-2025-58064). This vulnerability could be triggered by a specific user action, leading to unauthorized JavaScript code execution, if the attacker managed to insert malicious content into the editor, which might happen with a very specific editor configuration.This vulnerability affects only installations where the editor configuration meets one of the following criteria:
You can read more details in the relevant security advisory and contact us if you have more questions.
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
v45.2.1Compare Source
We are happy to announce the release of CKEditor 5 v45.2.1.
Release highlights
This hotfix release brings fixes for certain regressions in the field of text selection (with balloon toolbars enabled), multi-level lists, and pagination.
Bug fixes
Mapper, which could lead to crashes when editing heavily formatted content or when using complex features like multi-level lists. Closes #18678. (commit)Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
v45.2.0Compare Source
We are happy to announce the release of CKEditor 5 v45.2.0.
Release highlights
CKEditor 5 v45.2.0 offers the following improvements and bug fixes.
MINOR BREAKING CHANGES ℹ️
formatHtml()helper function is extracted to the@ckeditor/ckeditor5-utilspackage. See #18480.Features
Bug fixes
[width]attribute when it is used both on<table>and<figure>elements. Closes #18469. (commit)Other changes
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Minor releases (contain minor breaking changes):
Releases containing new features:
Other releases:
v45.1.0Compare Source
We are happy to announce the release of CKEditor 5 v45.1.0.
Release highlights
Typing Improvements
The typing behavior has been improved for plain text typing. This adjustment allows the web browser to handle text insertion before the editor processes it, enhancing typing reliability across various scenarios, especially on Safari and iOS devices. Issues related to track changes, autocorrect, automatic text replacement, and other input methods have been addressed.
Track Changes Enhancements
A new method to start a "tracking session" has been introduced, preventing automatic merging of adjacent suggestions. This allows for more precise control over individual changes, catering to workflows that require selective acceptance of edits.
Miscellaneous improvements
data-author-idanddata-suggestionattributes are preserved in non-block suggestions when retrieving data withshowSuggestionHighlights: true.MINOR BREAKING CHANGES ℹ️
beforeinputDOM events is no longer prevented in plain text typing scenarios. Now, the engine waits for DOM mutations and applies changes to the model afterward. This should not affect most integrations however, it may affect custom modifications to text insertion into the editor.Features
ckeditor5-code-block: The
Go/Golangprogramming language was added to the@ckeditor/ckeditor5-code-blockpackage. Closes #18403. (commit)Thanks to @abdorrahmani!
clipboard: Exported the
ClipboardObserverclass from the package. Closes #18385. (commit)track-changes: Added a method for starting a new tracking session in track changes.
utils: Recognize Urdu as an RTL language. Closes #16900. (commit)
Thanks to @smtaha512!
Bug fixes
comments: Fixed a crash happening for some asynchronous collaboration integrations, when the
TrackChangesDataplugin was used while there was a resolved comment thread in the document's initial data.email: Fixed incorrect documentation links in the email configuration helper.
fullscreen: Minor styling improvements. Closes #18470. (commit)
fullscreen: Changed the method use to recognize the editor type in fullscreen. Closes #18395. (commit)
fullscreen: Fixed restoring scroll position after leaving fullscreen mode for containers with
scroll-behavior: smooth. Closes #18378. (commit)html-support: Removing formatting from empty HTML no longer crashes the editor. Closes #18089. (commit)
html-support: Pasting an empty HTML element no longer crashes the editor. Closes #18100. (commit)
image: Consume the
.image_resizeclass and the[aspect-ratio]style during the upcast of the images. Closes #18287. (commit)link: Fixed a bug where the editor would crash or do nothing when pressing the enter key in newline-suppressed scenarios (such as limit elements). Closes #15862. (commit)
Thanks @jonscheiding!
minimap: The plugin no longer throws errors when entering the fullscreen mode. Closes #18472. (commit)
paste-from-office: Mixed local and online images from Microsoft Word paste no longer cause some images to disappear. Closes #18180. (commit)
source-editing-enhanced: When the Enhanced Source Editi
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.