关键信息 标题: Run welcome message through DOMPurify before rendering it 问题编号: #1378 状态: 已合并 (Merged) 分支: 从 合并至 提交者: nschro 提交时间: 5天前 标签: defect, backport/4.13.6 里程碑: 4.14.0 描述 Runs welcome message through DOMPurify before rendering it. 解决的问题 N/A 其他细节 N/A Checklist [ ] I have read and understand the contributing guidelines This PR introduces new or alters existing behavior, and I have updated the documentation accordingly Security Review Snyk检查: 通过,未发现任何问题 Copilot审查: 已完成,无评论 PR概览 安全增强: 通过在登录和欢迎消息组件中使用DOMPurify库对HTML内容进行清理,防止潜在的跨站脚本攻击。 主要变更: - 导入DOMPurify库 - 清洁欢迎消息内容 - 创建用于清洁的计算属性 审查的更改 文件: - src/views/pages/Login.vue - src/views/administration/configuration/WelcomeMessage.vue