Gửi #813252: RuoYi RuoYi-Vue 3.9.2 Cross Site Scriptingthông tin

tiêu đềRuoYi RuoYi-Vue 3.9.2 Cross Site Scripting
Mô tảA stored cross-site scripting vulnerability exists in RuoYi-Vue due to unsafe file upload handling. The common upload endpoints allow uploading files with .html and .htm extensions. Uploaded files are stored under the application-accessible directory (e.g., /profile/upload/) and are served from the same origin as the application. Source-level chain: POST /common/upload POST /common/uploads → FileUploadUtils.upload(...) → allowed extensions include .html / .htm → file is written under /profile/upload/... → file is publicly accessible via /profile/upload/... → browser renders attacker-controlled HTML/JavaScript under same origin Impact: An authenticated low-privilege user can upload a malicious HTML file and have it executed in the context of the application's origin. This enables stored XSS attacks, including session hijacking, token theft, phishing, or performing actions on behalf of other users depending on cookie and security configuration. The vulnerability is caused by allowing active content types to be uploaded and served from the same origin without proper restrictions.
Nguồn⚠️ https://github.com/yangzongzhuan/RuoYi-Vue
Người dùng
 feng123123 (UID 95215)
Đệ trình26/04/2026 07:39 (cách đây 1 tháng)
Kiểm duyệt23/05/2026 16:15 (27 days later)
Trạng tháiđược chấp nhận
Mục VulDB365338 [yangzongzhuan RuoYi-Vue đến 3.9.2 Common Upload Endpoint /common/upload FileUploadUtils.upload nâng cao đặc quyền]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!