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.
https://www.vulncheck.com/advisories/bbs-go-through-4.4.6-stored-xss-via-image-upload-content-type
https://github.com/mlogclub/bbs-go/pull/306
https://github.com/mlogclub/bbs-go/issues/305
https://github.com/mlogclub/bbs-go/commit/5bebf98bb9e0ac5162d4f8faf7a65fc0d496a362
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
Published: 2026-10-13
Updated: 2026-10-13
Base Score: 5.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N
Severity: Medium
Base Score: 5.4
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
Base Score: 5.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Severity: Medium