| Titre | 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.
|
|---|
| La source | ⚠️ https://github.com/diem-project/diem/issues/455 |
|---|
| Utilisateur | gscsd (UID 97914) |
|---|
| Soumission | 30/09/2026 18:04 (il y a 18 jours) |
|---|
| Modérer | 18/10/2026 11:52 (18 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 421686 [diem-project diem Version Check Service dmAdminCtrl.js html cross site scripting] |
|---|
| Points | 20 |
|---|