Skip to content

Commit f84c2da

Browse files
committed
SA-CORE-2021-005 by kkrzton, cilefen, xjm, Wim Leers, neclimdul
1 parent a1416f2 commit f84c2da

13 files changed

+1186
-1128
lines changed

assets/vendor/ckeditor/CHANGES.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
11
CKEditor 4 Changelog
22
====================
33

4+
## CKEditor 4.16.2
5+
6+
**Security Updates:**
7+
8+
* Fixed XSS vulnerability in the [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin reported by [Anton Subbotin](https://github.com/skavans).
9+
10+
Issue summary: The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. See [security advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7889-rm5j-hpgg) for more details.
11+
12+
* Fixed XSS vulnerability in the [Widget](https://ckeditor.com/cke4/addon/widget) plugin reported by [Anton Subbotin](https://github.com/skavans).
13+
14+
Issue summary: The vulnerability allowed to abuse undo functionality using malformed [Widget](https://ckeditor.com/cke4/addon/widget) HTML, which could result in executing JavaScript code. See [security advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c) for more details.
15+
16+
* Fixed XSS vulnerability in the [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) plugin reported by [Mika Kulmala](https://github.com/kulmik).
17+
18+
Issue summary: The vulnerability allowed to inject malformed [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) HTML, which could result in executing JavaScript code. See [security advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-m94c-37g6-cjhc) for more details.
19+
20+
You can read more details in the relevant security advisory and [contact us](security@cksource.com) if you have more questions.
21+
22+
**An upgrade is highly recommended!**
23+
24+
Fixed Issues:
25+
* [#4777](https://github.com/ckeditor/ckeditor4/issues/4777): Fixed: HTML comments in widgets not processed correctly.
26+
* [#4733](https://github.com/ckeditor/ckeditor4/pull/4733): Fixed: [Link](https://ckeditor.com/cke4/addon/link) prevent duplicate anchors in text with styles.
27+
* [#4728](https://github.com/ckeditor/ckeditor4/issues/4728): Fixed: Multiple anchors in one line and multi-line with text style.
28+
* [#3863](https://github.com/ckeditor/ckeditor4/issues/3863): Fixed: Multiple anchors in single word with text style.
29+
* [#3819](https://github.com/ckeditor/ckeditor4/issues/3819): [Chrome] Fixed: After removing one of the two consecutive spaces, the ` ` character appears in the editor instead of a space.
30+
* [#4666](https://github.com/ckeditor/ckeditor4/pull/4666): [IE] Introduce CSS.escape polyfill. Thanks to [limingli0707](https://github.com/limingli0707)!
31+
* [#681](https://github.com/ckeditor/ckeditor4/issues/681): Fixed: Table elements (td, tr, th, ..) with an id that starts with dot (.) causes javascript runtime err.
32+
* [#641](https://github.com/ckeditor/ckeditor4/issues/641): Fixed: UploadImage Plugin Widgets not working in IE, Opera, Safari, PhantomJS.
33+
* [#3638](https://github.com/ckeditor/ckeditor4/issues/3638): Fixed: Opening the same dialog twice causes it to become hidden under the dialog's page cover.
34+
* [#4247](https://github.com/ckeditor/ckeditor4/issues/4247): Fixed: [Color Button](https://ckeditor.com/cke4/addon/colorbutton)'s incorrect rendering on the first opening.
35+
* [#4555](https://github.com/ckeditor/ckeditor4/issues/4555): Fixed: [Font](https://ckeditor.com/cke4/addon/font) styles with attributes are not applied correctly when used multiple times over the same selection.
36+
* [#4782](https://github.com/ckeditor/ckeditor4/issues/4782): [Firefox] Fixed: `TypeError` is thrown when switching to Source View and back while [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) plugin is enabled.
37+
438
## CKEditor 4.16.1
539

640
Fixed Issues:
@@ -12,6 +46,7 @@ Fixed Issues:
1246
* [#4509](https://github.com/ckeditor/ckeditor4/issues/4509): Fixed: Incorrect handling of drag & drop inside [widgets](https://ckeditor.com/cke4/addon/widget) and nested editables.
1347
* [#4611](https://github.com/ckeditor/ckeditor4/issues/4611): [Android, iOS] Fixed: Incorrect hover styles for buttons in the toolbar on mobile devices.
1448
* [#4652](https://github.com/ckeditor/ckeditor4/issues/4652): Fixed: [Event data](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_eventInfo.html) set to `false` is treated as an event cancelation.
49+
* [#4659](https://github.com/ckeditor/ckeditor4/issues/4659): Fixed: [`CKEDITOR.htmlParser`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlParser.html) does not treat `--!>` as a comment end tag correctly.
1550

1651
## CKEditor 4.16
1752

assets/vendor/ckeditor/LICENSE.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ The following libraries are included in CKEditor under the MIT license (see Appe
4141
* PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca.
4242
* CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others.
4343
* ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors.
44+
* A polyfill for `CSS.escape` (adopted with modifications in `core/tools.js`), Mathias Bynens, v1.5.1, https://mths.be/cssescape.
4445

4546
Parts of code taken from the following libraries are included in CKEditor under the MIT license (see Appendix D):
4647

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"bender": {
3+
"port": 9001
4+
},
5+
"server": {
6+
"port": 9002
7+
},
8+
"paths": {
9+
"ckeditor4": "../ckeditor4/",
10+
"runner": "./src/runner.html"
11+
},
12+
"browsers": {
13+
"linux": [ "chrome", "firefox" ],
14+
"macos": [ "safari" ]
15+
}
16+
}

assets/vendor/ckeditor/build-config.js

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
*
1010
* Then, replace this directory (core/assets/vendor/ckeditor) with your build.
1111
*
12+
* Also: Remember to update core/core.libraries.yml if you are doing an update of the version of CKEditor for Drupal
13+
* Core.
14+
*
1215
* If you are developing or debugging CKEditor plugins, you may want to work
1316
* against an unoptimized (unminified) CKEditor build. To do so,
1417
* run the build command with the --leave-js-unminified flag.
@@ -36,6 +39,7 @@ var CKBUILDER_CONFIG = {
3639
'.editorconfig',
3740
'.gitignore',
3841
'.gitattributes',
42+
'.github',
3943
'gruntfile.js',
4044
'.idea',
4145
'.jscsrc',
@@ -44,6 +48,7 @@ var CKBUILDER_CONFIG = {
4448
'less',
4549
'.mailmap',
4650
'node_modules',
51+
'.nvmrc',
4752
'package.json',
4853
'README.md',
4954
'tests',

0 commit comments

Comments
 (0)