Skip to content

fix: 修复 XSS 注入漏洞,默认 filterHtml 使用 escapeHtml 转义 - #21278

Open
dlzdd wants to merge 2 commits into
baidu:masterfrom
dlzdd:feat-xssInjection
Open

dlzdd wants to merge 2 commits into
baidu:masterfrom
dlzdd:feat-xssInjection

Conversation

@dlzdd

@dlzdd dlzdd commented Jan 26, 2026

Copy link
Copy Markdown

What

Why

How

@github-actions github-actions Bot added the fix label Jan 26, 2026
@github-actions

Copy link
Copy Markdown

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

tomasky added a commit to tomasky/amis that referenced this pull request Sep 27, 2026
- filter/tpl-lodash: formatDate/date 增加空值与解析失败守卫,避免渲染 Invalid date 或把 null 渲染成今天
- immutableExtends + Table/Table2 Row.change: 支持深度 merge,修复 input-table 点号 name(obj.a/obj.b)相互覆盖
- service/crud store: 请求失败时更新 error message,使 fetchInited 的 responseMsg 正确
- app store setPages: 子页面无 url 时按最近有 path 的父级拼接,修复生成 page-n/page-n 丢失父级 url
- formula Editor: highlightValue 前转义,修复 innerHTML XSS
- spinner scss: icon/tip 颜色改为 inherit,使自定义 className 颜色可生效

同步自社区 PR baidu#21414 / baidu#21326 / baidu#8963 / baidu#12132 / baidu#21278 / baidu#21397

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant