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

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

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

查看全部 2 个回答

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-02 21:32
更新时间
2020-04-13 22:35
关注人数
5 人关注

相关问题

anwsion后台一个设置缺陷及修复
wecenter jsonp回调参数未验证,存在xss漏洞
这里搞错了吧,小错误,求修复!
Anwsion_2_DEV_20121228b这个版本不知道有没有对SEO问题进行修复?
WeCenter 3.1.7 bug 乱码希望官方修复
怎么回事,数据表修复
WC的ckeditor被阉割的好惨,大家有修复的经验没?
3.0beta3文章或回答里面,如果有加粗的字,空行就无效,有修复方案吗?
关于3.2.X版本分享代码不安全漏洞的修复
专题标题有重叠,怎么修复?

推荐内容

话题编辑失效。
3.1.1版,后台导航菜单设置有bug
一句话介绍自己,扩大窗口导致“可能感兴趣的人”排版混乱
BUG话题页面出错,关注的人不出现了
反馈一个小问题
WC官方出错?
继续测试移动端显示出来的BUG
WeCenter 3.1.8 后台管理不显示验证码
WeCenter建议汇总
在数据库改了updatetime,为啥问题排序没有变?