| Titre | cms made simple 2.2.21 XSS |
|---|
| Description | 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)> |
|---|
| La source | ⚠️ https://github.com/feixuezhi/cms/wiki |
|---|
| Utilisateur | feioklucy (UID 83820) |
|---|
| Soumission | 03/03/2026 09:40 (il y a 3 mois) |
|---|
| Modérer | 15/03/2026 19:36 (12 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 351148 [CMS Made Simple jusqu’à 2.2.21 User Management admin/listusers.php Message cross site scripting] |
|---|
| Points | 20 |
|---|