| 제목 | 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. AM 09:40 (3 개월 ago) |
|---|
| 모더레이션 | 2026. 03. 15. PM 07:36 (12 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 351148 [CMS Made Simple 까지 2.2.21 User Management admin/listusers.php 메시지 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|