| Title | diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting |
|---|
| Description | The version-check service in `dmAdminPlugin/config/dm/services.yml` uses cleartext HTTP. `dmAdminPlugin/lib/webService/dmDiemVersionCheck.php` returns the response body as the recommended version without validation, and `dmAdminPlugin/modules/dmAdmin/templates/versionCheckSuccess.php` incorporates that value into HTML. The administrative skeleton disables output escaping, and `dmAdminPlugin/web/js/dmAdminCtrl.js` inserts the AJAX response with jQuery `.html()`. A machine-in-the-middle who modifies the HTTP version response to a value such as `999<img src=x onerror=alert(document.domain)>` can execute JavaScript in the administrative origin when a `system` user loads the administrative page.
|
|---|
| Source | ⚠️ https://github.com/diem-project/diem/issues/455 |
|---|
| User | gscsd (UID 97914) |
|---|
| Submission | 09/30/2026 18:04 (18 days ago) |
|---|
| Moderation | 10/18/2026 11:52 (18 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 421686 [diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Version Check Service dmAdminCtrl.js html cross site scripting] |
|---|
| Points | 20 |
|---|