File upload restrictions aren't aalways enough to prevent stored XSS, especially when the storage service itself provides ways to override how uploaded files are served.
MinIO is a good example because some configurations honour the `response-content-type` query parameter which can change the response's `Content-Type` without modifying the stored object. An application might force every uploaded file to be served as `image/png`, but adding `?response-content-type=text/html` to the object's URL could make the browser interpret that same file as HTML instead.
Amazon S3 supports the same parameter although it requires a signed request. When hunting around public uploads, it's worth paying attention to these response overrides, whether the uploaded content can contain HTML/JS, and especially which origin serves the files. Getting JavaScript to execute is one thing, but getting it to execute under an application's trusted origin is where the impact gets much more interesting.
