File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 3.0.4 " ></a >
2+ ## [ 3.0.4] ( https://github.com/kolkov/angular-editor/compare/v3.0.3...v3.0.4 ) (2025-12-18) - Security Hotfix
3+
4+ ### Security
5+ * ** 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 ) )
6+ - XSS could execute when switching from HTML source mode back to WYSIWYG
7+ - User-entered HTML was set via innerHTML without sanitization
8+ - Sanitization now properly applied in both code paths
9+ - Thanks to @MarioTesoro for finding the root cause and submitting the fix
10+
11+ ### Note
12+ v3.0.3 fix was incomplete - it only covered ` refreshView() ` but not ` toggleEditorMode() ` . This release provides complete XSS protection.
13+
14+ ### Upgrade Recommendation
15+ ** IMMEDIATE UPGRADE RECOMMENDED** for all users. This release completes the security fix started in v3.0.3.
16+
17+ ---
18+
119<a name =" 3.0.3 " ></a >
220## [ 3.0.3] ( https://github.com/kolkov/angular-editor/compare/v3.0.2...v3.0.3 ) (2025-01-22) - Security Hotfix
321
Original file line number Diff line number Diff line change 11{
22 "name" : " @kolkov/angular-editor" ,
3- "version" : " 3.0.1 " ,
3+ "version" : " 3.0.4 " ,
44 "scripts" : {
55 "ng" : " ng" ,
66 "start" : " ng serve" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @kolkov/angular-editor" ,
3- "version" : " 3.0.3 " ,
3+ "version" : " 3.0.4 " ,
44 "description" : " A simple native WYSIWYG editor for Angular 20+. Rich Text editor component for Angular." ,
55 "author" : " Andrey Kolkov <a.kolkov@gmail.com>" ,
66 "repository" : " https://github.com/kolkov/angular-editor" ,
You can’t perform that action at this time.
0 commit comments