Description (CNA)
bbs-go through 4.4.6 contains a stored cross-site scripting vulnerability that allows authenticated users to upload HTML or SVG files by spoofing the multipart Content-Type in POST /api/upload. Attackers can upload script-bearing documents served inline from /res and send their URLs to administrators, executing script on the forum's origin.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mlogclub / bbs-go | affected 0 through 4.4.6 |
CWE
CWE-79
References
- https://github.com/mlogclub/bbs-go/issues/305
- https://github.com/mlogclub/bbs-go/blob/v4.4.6/internal/pkg/uploader/uploader.go#L90-L121
- https://github.com/mlogclub/bbs-go/blob/v4.4.6/internal/handlers/api/upload_handlers.go#L36-L54
- https://github.com/mlogclub/bbs-go/pull/306
- https://github.com/mlogclub/bbs-go/commit/5bebf98bb9e0ac5162d4f8faf7a65fc0d496a362
- https://www.vulncheck.com/advisories/bbs-go-through-4.4.6-stored-xss-via-image-upload-content-type
ADP enrichment
No English description supplied.
No references supplied.