Repository navigation
Release v2.14.1
v2.14.1
Changelog
Security: the help modal only processes labels inside a form (no HTML from labels in user content). See UPGRADING.
Security
- Help modal: only labels inside a
<form>.help-modal.jsturned everylabel[data-nowo-help-modal]on the
page into a trigger and inserted itsicon_html/title_html/contentas HTML, on load and on every DOM
mutation. HTML sanitizers keep<label>anddata-*, so sanitised user content (a comment, rich text) could carry
a payload that ran script without a click. Labels outside a<form>are now ignored; Symfony form labels are
always inside one. - Docs:
input_group_prefix/input_group_suffixare trusted HTML;.github/SECURITY.mdlists 2.x as supported.
What's Changed
- fix(security): help modal only processes labels inside a form by @HecFranco in #52
Full Changelog: v2.14.0...v2.14.1