There are sites that offer images and music that is supposedly usable without paying any royalities (for youtube videos, placeholder images, and so on). The content is uploaded by third party (from my point of view) users to this site and the site is supposed to vet that it is indeed usable without having to pay royality.
Recently on one of those sites I have had the impression that there are some content producers that are pushing the limit especially in the music area. If you know the original song you can clearly connect the dots and it really sounds similar, yet they are listed on the webpage as usable without restriction. I am no expert in copyright law but several times I thought it is definitely at least in a gray area.
Am I as the user of this site in any way liable if the music turns out to violate copyright? For original music I know I can steer clear to avoid any issues, but I dont know every original piece of music.
/EDIT: I did not add a special location tag because I do believe the answer is probably quite similar in various jurisdictions.