| 标题 | 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) |
|---|
| 提交 | 2026-03-03 09時40分 (3 月前) |
|---|
| 管理 | 2026-03-15 19時36分 (12 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 351148 [CMS Made Simple 直到 2.2.21 User Management admin/listusers.php 信息 跨网站脚本] |
|---|
| 积分 | 20 |
|---|