Gửi #1008082: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scriptingthông tin

tiêu đềdiem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting
Mô tả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.
Nguồn⚠️ https://github.com/diem-project/diem/issues/456
Người dùng
 gscsd (UID 97914)
Đệ trình30/09/2026 18:05 (cách đây 18 ngày)
Kiểm duyệt18/10/2026 11:52 (18 days later)
Trạng tháiđược chấp nhận
Mục VulDB421687 [diem-project diem đến 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Administrative Console actions.class.php append dm_command Tập lệnh chéo trang]
điểm20

Do you need the next level of professionalism?

Upgrade your account now!