A Stored Cross-Site Scripting (XSS) vulnerability exists in the Notice module of SmartAdmin(https://gitee.com/lab1024/smart-admin) v3.0, an enterprise-level rapid development platform. Attackers can inject malicious JavaScript code through the database, which will be executed in the browser of other users when they view the malicious notice.
| Component | Version | File Path |
|---|---|---|
| Frontend | Vue3 + Ant Design Vue | smart-admin-web-javascript/src/views/business/oa/notice/components/notice-form-drawer.vue |
| Frontend | Vue3 + Ant Design Vue | smart-admin-web-javascript/src/views/business/oa/notice/notice-detail.vue |
| Frontend | @wangeditor-next/editor | smart-admin-web-javascript/src/components/framework/wangeditor/index.vue |
| Backend | Spring Boot 3.5.4 / 2.x | Notice Controller |
v-html directive to render raw HTMLFile: smart-admin-web-javascript/src/views/business/oa/notice/components/notice-form-drawer.vue
Vulnerable Code (Line 75-77):