I believe this property is located in a HOA and may have dues owed against or need to have a resale certificate issued which would cost some money.
Now to answer your question. Typically no the buyer would not be liable for any other leins on the property if it was a judicial foreclosure. However tax leins and second mortgages and IRS liens need to be looked at to be sure the title is clean and this is why you would want title insurance.
If you would like a better explanation please consider talking with a local Realtor