| Title | FotosCMS2 cookie parameter in profile.php has an XSS vulnerability. |
|---|
| Description | 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.

|
|---|
| Source | ⚠️ https://github.com/AlexanderLivanov/FotosCMS2/issues/18 |
|---|
| User | zihe (UID 56943) |
|---|
| Submission | 10/23/2023 08:14 (3 years ago) |
|---|
| Moderation | 10/28/2023 08:46 (5 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 243802 [AlexanderLivanov FotosCMS2 up to 2.4.3 Cookie profile.php Username cross site scripting] |
|---|
| Points | 20 |
|---|