| Título | newbee-ltd newbee-mall <=1.0.0 Doubled Character XSS Manipulations |
|---|
| Descrição | 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\\"` |
|---|
| Fonte | ⚠️ https://github.com/newbee-ltd/newbee-mall/issues/126 |
|---|
| Utilizador | rockmelodeis (UID 100628) |
|---|
| Submissão | 27/08/2026 04h43 (há 25 dias) |
|---|
| Moderação | 19/09/2026 23h41 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 407974 [newbee-ltd newbee-mall até 1.0.0 Goods Save Endpoint UploadController.java goodsName Script de Site Cruzado] |
|---|
| Pontos | 20 |
|---|