| Titolo | newbee-ltd newbee-mall <=1.0.0 Doubled Character XSS Manipulations |
|---|
| Descrizione | 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 |
|---|
| Utente | rockmelodeis (UID 100628) |
|---|
| Sottomissione | 27/08/2026 04:43 (25 giorni fa) |
|---|
| Moderazione | 19/09/2026 23:41 (24 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 407974 [newbee-ltd newbee-mall fino a 1.0.0 Goods Save Endpoint UploadController.java goodsName cross site scripting] |
|---|
| Punti | 20 |
|---|