| 标题 | FotosCMS2 cookie parameter in profile.php has an XSS vulnerability. |
|---|
| 描述 | On the profile.php page, line 20 will output, echo$_ SESSION ['username '].' - Профиль';, But$_ SESSION ['username '] is obtained through the if (isset ($-COOKIE ['username cookie')) {$_SESSION ['username ']=$-COOKIE ['username cookie'];} in the cfg. php file$_ COOKIE ['username cookie '] is something that users can manipulate and can cause XSS vulnerabilities.

|
|---|
| 来源 | ⚠️ https://github.com/AlexanderLivanov/FotosCMS2/issues/18 |
|---|
| 用户 | zihe (UID 56943) |
|---|
| 提交 | 2023-10-23 08時14分 (3 年前) |
|---|
| 管理 | 2023-10-28 08時46分 (5 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 243802 [AlexanderLivanov FotosCMS2 直到 2.4.3 Cookie profile.php username 跨网站脚本] |
|---|
| 积分 | 20 |
|---|