Submit #1008082: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scriptinginfo

Titlediem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting
DescriptionThe 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)
Submission09/30/2026 18:05 (18 days ago)
Moderation10/18/2026 11:52 (18 days later)
StatusAccepted
VulDB entry421687 [diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Administrative Console actions.class.php append dm_command cross site scripting]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!