该问题已被锁定!
5
关注
5650
浏览

修复3.3.5因remove_xss导致的下载附件出错修复文件

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
adre 注册会员 用户来自于: 安徽省合肥市
2020-04-13 22:35

Only these two lines should be commented out (for the editor to work correctly). If you comment out other lines, then I can easily add XSS to the post through the editor. Check for yourself by adding different XSS inserts.


// $ html = str_replace ($ searchs, $ replaces, $ html); 
// return preg_replace ('/ style = \ ". *? \" /', '', $ html);


一花一木 初级会员 用户来自于: 山东省临沂市
2020-03-03 15:59

反馈一下:使用修复文件后,百度编辑器附件功能可用;wangEditor附件功能还是无法使用。

关于作者

问题动态

发布时间
2020-03-02 21:32
更新时间
2020-04-13 22:35
关注人数
5 人关注

相关问题

模版错位怎么修复呢
3.0手机端无法上传图片,下一个版本修复时希望能加上。
用安全宝,提示注入及XSS跨站警告,这类东西要不要跟进。
3.0beta3文章或回答里面,如果有加粗的字,空行就无效,有修复方案吗?
针对url中网址末尾不带斜杠/和带斜杠不一样导致的伪静态修复
莫名出现There appears to be an error:,怎么修复?
3.1.9版本XSS漏洞
google 登陆修复 提示:获取个人资料时,与 Google 通信失败
uc整合有bug!!!请官方修复!
官方忘记修复的一个BUG