| 标题 | zhistaredu StarTraining 3.8.1 Cross Site Scripting |
|---|
| 描述 | StarTraining 3.8.1 — Global XSS filter disabled (ST-VULN-007)
Product: StarTraining 3.8.1
CWE: CWE-79
Classification: Cross Site Scripting
=== SUMMARY ===
`application.yml` sets `xss.enabled: false`, disabling servlet XSS filter.
=== ROOT CAUSE ===
Misconfiguration of xss filter switch.
=== REPRODUCTION ===
# Code/config verification — POST notice/content endpoints accept raw HTML when filter off
GET /system/notice/list HTTP/1.1
Host: 127.0.0.1:8900
Authorization: USER_TOKEN
Connection: close
Expected: Config shows xss.enabled=false; stored XSS easier on notice fields
=== IMPACT ===
Increases XSS impact across /system/* endpoints.
=== FIX ===
Set xss.enabled=true in production.
|
|---|
| 来源 | ⚠️ https://github.com/ArrestX/startraining-advisories/blob/main/advisories/ST-VULN-007-xss-filter-disabled.md |
|---|
| 用户 | thmanhz (UID 100327) |
|---|
| 提交 | 2026-08-05 02時21分 (2 月前) |
|---|
| 管理 | 2026-09-27 05時38分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 410811 [zhistaredu StarTraining 直到 3.8.1 application.yml xss.enabled 跨网站脚本] |
|---|
| 积分 | 20 |
|---|