Books_Manager XSS
2026-01-13 00:00:00 # 漏洞

Vulnerability Introduction

controllers/books_center/add_book_check.php interface has an XSS storage vulnerability, where attackers can pass in the product name (i.e. mark parameter) to cause the server to execute JS code, resulting in an XSS storage vulnerability

Vulnerability analysis

Vulnerability class file: Books_Manager/books_center/add_book_check.php

image-20260113154031118

Receiving the mark parameter in the add_book_check.php and directly updating it to the database without verifying the incoming content, there is an XSS storage vulnerability

Vulnerability reproduction

image-20260113154301592

After entering the following code in the product name and clicking the submit button, it was found that the JS code was successfully executed.

image-20260113154350854

上一页
2026-01-13 00:00:00 # 漏洞