| 标题 | bufanyun HotGo <= v2.0 Cross Site Scripting |
|---|
| 描述 | A stored Cross-Site Scripting (XSS) vulnerability exists in HotGo ≤ v2.0 at the system notice functionality, where the /admin/notice/editNotice endpoint accepts user-supplied content field without sanitization or validation, stores it directly in the database, and the Vue.js frontend renders this content using v-html without sanitization or validation. As a result, authenticated attackers can inject arbitrary JavaScript that executes in the browsers of users viewing the system notice, potentially leading to session hijacking, credential theft, or malicious actions performed on behalf of victims. Mitigations include implementing HTML sanitization using libraries like DOMPurify, avoiding v-html in favor of safe Vue.js rendering, implementing Content Security Policy (CSP) headers, encoding output context-appropriately, and validating input against a whitelist of allowed HTML tags and attributes. |
|---|
| 来源 | ⚠️ https://github.com/CC-T-454455/Vulnerabilities/tree/master/hotgo/vulnerability-2 |
|---|
| 用户 | Anonymous User |
|---|
| 提交 | 2026-03-16 04時45分 (18 日前) |
|---|
| 管理 | 2026-03-31 18時13分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 354443 [bufanyun HotGo 1.0/2.0 editNotice Endpoint MessageList.vue 跨网站脚本] |
|---|
| 积分 | 20 |
|---|