summernote / summernote

Super simple WYSIWYG editor
https://summernote.org
MIT License
11.53k stars 2.25k forks source link

Incomplete string escaping or encoding (HIGH) #4666

Open ReneMuetti opened 1 month ago

ReneMuetti commented 1 month ago

Checklist

Steps to reproduce

Incomplete multi-character sanitization Detected by CodeQL in skin/.../summernote/summernote.js:6592

Incomplete multi-character sanitization Detected by CodeQL in skin/.../summernote/summernote-lite.js:6592

Incomplete multi-character sanitization Detected by CodeQL in skin/.../summernote/summernote-bs4.js:6592

DOM text reinterpreted as HTML Detected by CodeQL in skin/.../databasic/summernote-ext-databasic...:172

Expected behavior

GIT-HUB Security-Scanner

Current behavior

GIT-HUB Security-Scanner

Minimal example reproducing the issue

No response

Environment

1der1 commented 1 month ago

@ReneMuetti, the links don't work.

ReneMuetti commented 1 month ago

Oh -- sorry -- I'll try to improve that. I can't copy these links because they always appear as 404. I could create screenshots and make them available here.

ReneMuetti commented 1 month ago

https://info-panel.net/summernote/Screenshot_2024-08-15_at_20-21-50_Incomplete_multi-character_sanitization_Code_scanning_alert_1_ReneMuetti_EasyCMS.png https://info-panel.net/summernote/Screenshot_2024-08-15_at_20-22-13_Incomplete_multi-character_sanitization_Code_scanning_alert_2_ReneMuetti_EasyCMS.png https://info-panel.net/summernote/Screenshot_2024-08-15_at_20-21-01_Incomplete_multi-character_sanitization_Code_scanning_alert_3_ReneMuetti_EasyCMS.png https://info-panel.net/summernote/Screenshot_2024-08-15_at_20-22-39_DOM_text_reinterpreted_as_HTML_Code_scanning_alert_6_ReneMuetti_EasyCMS.png