| Title | 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.
|
|---|
| Source | ⚠️ https://github.com/diem-project/diem/issues/456 |
|---|
| User | gscsd (UID 97914) |
|---|
| Submission | 09/30/2026 18:05 (18 days ago) |
|---|
| Moderation | 10/18/2026 11:52 (18 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 421687 [diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Administrative Console actions.class.php append dm_command cross site scripting] |
|---|
| Points | 20 |
|---|