Thanks for posting and welcome to the forums.
Can I please ask which specific speaker you had in mind as each has a different layer of protection?
I look forward to your reply.
The Bose Portable Home Speaker has an IPx4 water resistant rating, so you can get it wet with splashes and sprays. While the speaker should not be submerged under water, it can easily withstand sprays from sitting next to the sink, the pool, or the shower. We wouldn't recommending placing this in the shower, but in your bathroom this will be protected.