127 Star 358 Fork 125

XiaoBingBy / TeaCMS

 / 详情

CVE update request: TeaCMS has XSS defects

待办的
创建于  
2023-03-09 11:47

When the title is added to the article published by ordinary users, the title format is not filtered, which can leak sensitive information. Users can publish articles titled <script>alert(document.cookie)</script>, which will cause user cookie leakage when accessed.
输入图片说明
缺陷代码位置:/admin/article-new.html
@RequestMapping(value = "/article-new.html")
public String articleNew(ModelMap modelMap) {
List allCategory = commonMapper.findAllCategory();
List allTag = commonMapper.findAllTag();
/** * 插入图片 */
List allImg = multimediaMapper.findAllImg(null);
PageInfo allImgInfo = new PageInfo(allImg);
modelMap.put("allCategory", allCategory);
modelMap.put("allTag", allTag);
modelMap.put("allImgInfo", allImgInfo.getList());
return "_admin/article/article_new"

评论 (3)

jacky 创建了任务

作者大大请不要关闭 cve更新后 我会将其关闭

这种能申请CVE?

我想试一试 嘿嘿

jacky 修改了描述

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
8674532 by yexing 1705565218
Java
1
https://gitee.com/xiaobingby/TeaCMS.git
git@gitee.com:xiaobingby/TeaCMS.git
xiaobingby
TeaCMS
TeaCMS

搜索帮助