| Название | cms made simple 2.2.21 XSS |
|---|
| Описание | Description:
CMS Made Simple Version 2.2.21 is vulnerable to Cross Site Scripting (XSS). This vulnerability is located in the User Management module of the admin panel.
Code Analysis:
The issue is found in admin/listusers.php at line 236. The code employs weak filtering, removing only the first occurrence of <, and lacks htmlspecialchars escaping:
$message = preg_replace('/\</', '', $_GET['message']);
echo '<div class="pagemcontainer"><p class="pagemmessage">' . $message . '</p></div>';
Steps to Reproduce:
1、Ensure you are logged into the CMS admin panel
2、Click on User Management, then click on Backend Users. Append &message=<script>alert(1)</script> to the end of the URL in the browser's address bar. For example: http://domain-name/cmscms/install/admin/listusers.php?__c=a94037876ab5f6e1527&message=<svg/onload=alert(document.cookie)> |
|---|
| Источник | ⚠️ https://github.com/feixuezhi/cms/wiki |
|---|
| Пользователь | feioklucy (UID 83820) |
|---|
| Представление | 03.03.2026 09:40 (3 месяцы назад) |
|---|
| Модерация | 15.03.2026 19:36 (12 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 351148 [CMS Made Simple до 2.2.21 User Management admin/listusers.php Сообщение межсайтовый скриптинг] |
|---|
| Баллы | 20 |
|---|