中危 Apostrophe sanitize-html up to 2.3.1 Whitelist 访问控制漏洞
CVE编号
CVE-2021-26540利用情况
暂无补丁情况
官方补丁披露时间
2021-02-09漏洞描述
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com".解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://advisory.checkmarx.net/advisory/CX-2021-4309 | |
https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md | |
https://github.com/apostrophecms/sanitize-html/pull/460 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | apostrophecms | sanitize-html | * | Up to (excluding) 2.3.2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | node-sanitize-html | * | Up to (excluding) 2.8.0+~2.6.2-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | node-sanitize-html | * | Up to (excluding) 2.8.0+~2.6.2-1 |
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
NVD-CWE-noinfo |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论