🐛 Bug Fix
- Security / clean-html: a
<script>nested directly inside<svg>(or MathML) is now removed bydenyTags. The deny/allow tag filter matchednode.nodeNameagainst an upper-cased hash, but foreign-namespaced elements keep their original case (an SVG<script>reports"script", not"SCRIPT"), so the script slipped through the defaultdenyTagsand executed when the value was loaded into the editor. The lookup now normalises the tag name to upper case, so namespace can't bypass the filter — while still honouringallowTags. Fixes GHSA-45qg-252v-3f7p. Thanks to Roman Kis for the report. - Toolbar: fixed
TypeError: Cannot redefine property: componentthrown when the editor is created withcache: false.ToolbarButton.createContainer(decorated with@cacheHTML) defined thecomponentback-reference on the button element withoutconfigurable, i.e. non-configurable. With caching enabled the container is cloned (which drops the property), hiding the problem; withcache: falsethe container isn't cloned, so a button built after an editor became ready reached the constructor still carrying that non-configurable property and the constructor's redefine threw. The property is now defined as configurable, matching the baseUIElement.