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

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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!