FastAdmin Reflected XSS Vulnerability
FastAdmin Reflected XSS Vulnerability (url Parameter) Bug Author: lhzzz08 Affected Version: FastAdmin ≤ v1.2.0.20210401_beta (fixed in v1.2.1.20210731_beta) Vendor: FastAdminNet Software: FastAdmin on GitHub/Gitee Vulnerability Files: application/index/controller/User.php (lines 68, 146) application/index/view/user/login.html (line 7) application/index/view/user/register.html (line 8) Description Reflected XSS Vulnerability in FastAdmin index/user Login and Register Pages via url Parameter 1. Reflected XSS via url Parameter FastAdmin’s front-end user module (app\index\controller\User) accepts a url GET parameter in both the login and register endpoints. This parameter is intended to redirect users after successful authentication. In the vulnerable version, the parameter is retrieved with only a trim filter (no HTML sanitization) and assigned to the template: ...