jodit 4.19.12 → 4.19.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +6 -6
- package/es2015/jodit.js +138 -85
- package/es2015/jodit.min.js +3 -3
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.js +3 -3
- package/es2018/jodit.min.js +3 -3
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +4 -4
- package/es2021/jodit.js +138 -85
- package/es2021/jodit.min.js +4 -4
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +4 -4
- package/es2021.en/jodit.js +114 -61
- package/es2021.en/jodit.min.js +4 -4
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +162 -88
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/global.d.ts +6 -0
- package/esm/core/global.js +21 -4
- package/esm/core/helpers/html/safe-html.js +26 -0
- package/esm/jodit.d.ts +4 -0
- package/esm/jodit.js +5 -1
- package/esm/languages.js +7 -1
- package/package.json +1 -1
- package/types/core/global.d.ts +6 -0
- package/types/jodit.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.19.14
|
|
13
|
+
|
|
14
|
+
#### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- Security: an SVG animation could write a `javascript:` URL into a link after the sanitizer had run. `<svg><a><animate attributeName="href" values="javascript:…">` passed `safeHTML`, which checked only the static URL attributes, and a click on the link ran the script in Chromium and Safari (CWE-79, stored XSS in the default configuration). The `values`, `from`, `to` and `by` of `<animate>`, `<set>`, `<animateMotion>` and `<animateTransform>` now go through the same scheme check and are dropped when one of them holds a dangerous URL. Reported by David Vieira Kurz (HiSolutions AG), GHSA-6wrw-v5gj-6xg7.
|
|
17
|
+
- Security: `extendLang()` merged a language pack with `Object.assign` and no key filter, so a pack parsed from untrusted JSON with a `__proto__` key wrote into `Object.prototype` (CWE-1321). The keys `__proto__`, `constructor` and `prototype` are skipped on both levels, as `set()` and `Jodit.configure()` already did; the helper is also reachable as `Jodit.extendLang`. Reported by zx, GHSA-6gxg-6pj3-m22j.
|
|
18
|
+
- ESM build: a language file whose dictionary holds a `default` entry (`no.js`, "Standard") was taken for a module, so the Norwegian pack was replaced by that string, and the `default` of a CommonJS pack a plugin imports overwrote the translation. Both now unwrap a module only when `default` is a dictionary.
|
|
19
|
+
|
|
12
20
|
## 4.19.12
|
|
13
21
|
|
|
14
22
|
#### :bug: Bug Fix
|
package/es2015/jodit.css
CHANGED