Soumettre #1008080: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scriptinginformation

Titrediem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting
DescriptionThe 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)
Soumission30/09/2026 18:04 (il y a 18 jours)
Modérer18/10/2026 11:52 (18 days later)
StatutAccepté
Entrée VulDB421686 [diem-project diem Version Check Service dmAdminCtrl.js html cross site scripting]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!