@kolkov/angular-editor
Advanced tools
+18
-0
@@ -0,1 +1,19 @@ | ||
| <a name="3.0.4"></a> | ||
| ## [3.0.4](https://github.com/kolkov/angular-editor/compare/v3.0.3...v3.0.4) (2025-12-18) - Security Hotfix | ||
| ### Security | ||
| * **CRITICAL:** Fixed XSS vulnerability in `toggleEditorMode()` method ([#580](https://github.com/kolkov/angular-editor/issues/580)) ([#587](https://github.com/kolkov/angular-editor/pull/587)) | ||
| - XSS could execute when switching from HTML source mode back to WYSIWYG | ||
| - User-entered HTML was set via innerHTML without sanitization | ||
| - Sanitization now properly applied in both code paths | ||
| - Thanks to @MarioTesoro for finding the root cause and submitting the fix | ||
| ### Note | ||
| v3.0.3 fix was incomplete - it only covered `refreshView()` but not `toggleEditorMode()`. This release provides complete XSS protection. | ||
| ### Upgrade Recommendation | ||
| **IMMEDIATE UPGRADE RECOMMENDED** for all users. This release completes the security fix started in v3.0.3. | ||
| --- | ||
| <a name="3.0.3"></a> | ||
@@ -2,0 +20,0 @@ ## [3.0.3](https://github.com/kolkov/angular-editor/compare/v3.0.2...v3.0.3) (2025-01-22) - Security Hotfix |
+1
-1
| { | ||
| "name": "@kolkov/angular-editor", | ||
| "version": "3.0.3", | ||
| "version": "3.0.4", | ||
| "description": "A simple native WYSIWYG editor for Angular 20+. Rich Text editor component for Angular.", | ||
@@ -5,0 +5,0 @@ "author": "Andrey Kolkov <a.kolkov@gmail.com>", |
+3
-2
@@ -7,7 +7,8 @@ <p align="center"> | ||
| [](https://badge.fury.io/js/%40kolkov%2Fangular-editor) | ||
| [](https://www.npmjs.com/package/@kolkov/angular-editor) | ||
| [](https://github.com/kolkov/angular-editor/actions/workflows/publish.yml) | ||
| [](https://www.npmjs.com/package/@kolkov/angular-editor) | ||
| [](https://stackblitz.com/edit/angular-editor-wysiwyg) | ||
| [](https://www.npmjs.com/package/@kolkov/angular-editor) | ||
| [](https://www.jsdelivr.com/package/npm/@kolkov/angular-editor) | ||
| [](https://codecov.io/gh/kolkov/angular-editor) | ||
| [](https://opensource.org/licenses/MIT) | ||
| [](https://paypal.me/AndreyKolkov) | ||
@@ -14,0 +15,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
238630
1.03%1925
0.47%355
0.28%