| Titre | diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting |
|---|
| Description | The administrative console in `dmAdminPlugin/modules/dmConsole/actions/actions.class.php` places the raw `dm_command` value and raw command output into HTML without encoding. Its JavaScript client in `dmAdminPlugin/web/js/dmAdminConsole.js` inserts the response using jQuery `.append()`. A crafted value beginning with an allowed command, for example `ls #<img src=x onerror=alert(document.domain)>`, is echoed as HTML and executes JavaScript in the administration origin. An attacker who induces an authenticated `system` user to open the crafted console URL can act with that user's administrative session.
|
|---|
| La source | ⚠️ https://github.com/diem-project/diem/issues/456 |
|---|
| Utilisateur | gscsd (UID 97914) |
|---|
| Soumission | 30/09/2026 18:05 (il y a 18 jours) |
|---|
| Modérer | 18/10/2026 11:52 (18 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 421687 [diem-project diem Administrative Console actions.class.php append dm_command cross site scripting] |
|---|
| Points | 20 |
|---|