JPressProjects / jpress

JPress,一个使用 Java 开发的建站神器,目前已经有 10w+ 网站使用 JPress 进行驱动,其中包括多个政府机构,200+上市公司,中科院、红+字会等。
http://www.jpress.cn
GNU Lesser General Public License v3.0
2.66k stars 1.18k forks source link

There is a storage XSS vulnerability in the template module #152

Closed ghost closed 3 years ago

ghost commented 3 years ago

There is a storage XSS vulnerability in the template module. The figure shows the setting interface of template management, which is used to describe the left part of the home page. URL: http://localhost:8080/admin/template/setting

After inputting the payload in the figure above, any user entering the home page will trigger XSS vulnerability.

However, if hackers enter the background by means of weak password and add XSS code, they can easily cause great harm: Hijacking cookies, obtaining sensitive information, phishing and so on.

Similarly, there is a storage XSS vulnerability in commodity tag management, which can be successfully triggered on the commodity page

JPressProjects commented 3 years ago

这不是问题,后台本身就允许编辑代码。