| 标题 | newbee-ltd newbee-mall <=1.0.0 Doubled Character XSS Manipulations |
|---|
| 描述 | In newbee-mall (<=1.0.0), the backend file upload functionality does not enforce a file extension whitelist. By uploading a polyglot image/HTML file, an attacker can bypass the BufferedImage validation, resulting in stored cross-site scripting (XSS).
代码定位:
- `controller/common/UploadController.java:49-81` —— 上传逻辑
- `config/NeeBeeMallWebMvcConfigurer.java:62-65` —— `/upload/**` 映射到本地目录
- `common/Constants.java:20` —— `FILE_UPLOAD_DIC = "D:\\upload\\"` |
|---|
| 来源 | ⚠️ https://github.com/newbee-ltd/newbee-mall/issues/126 |
|---|
| 用户 | rockmelodeis (UID 100628) |
|---|
| 提交 | 2026-08-27 04時43分 (24 日前) |
|---|
| 管理 | 2026-09-19 23時41分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 407974 [newbee-ltd newbee-mall 直到 1.0.0 Goods Save Endpoint UploadController.java goodsName 跨网站脚本] |
|---|
| 积分 | 20 |
|---|