Files
wekan/server/notifications
Lauri Ojansivu a9e8bda47b Fix the MailTitleBleed regression: member-written values are escaped in templated HTML notification mail.
With an admin-defined activity e-mail body template (#2022), the HTML body was
the substituted template, and the values substituted into it - card, board and
list titles, the username, a comment - are written by members, so markup in a
card title reached other members' HTML mail. The template stays trusted and may
carry HTML; the HTML body now substitutes escaped values, and the text body is
unchanged. Rule e-mails and invitations are text only. The test drives the
substitution with hostile values; an assertion that had pinned the vulnerable
form now pins the fixed one.

Thanks to xet7 !
2026-10-02 10:45:11 +03:00
..