| Titre | newbee-ltd newbee-mall <=1.0.0 Doubled Character XSS Manipulations |
|---|
| Description | 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\\"` |
|---|
| La source | ⚠️ https://github.com/newbee-ltd/newbee-mall/issues/126 |
|---|
| Utilisateur | rockmelodeis (UID 100628) |
|---|
| Soumission | 27/08/2026 04:43 (il y a 25 jours) |
|---|
| Modérer | 19/09/2026 23:41 (24 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 407974 [newbee-ltd newbee-mall jusqu’à 1.0.0 Goods Save Endpoint UploadController.java goodsName cross site scripting] |
|---|
| Points | 20 |
|---|