A custom-built oceanfront home in posh Golden Beach set a record as the most expensive property ever sold in that gilded South Florida town.

Yet apparently unbeknownst to the buyers who plunked down $22.5 million for the 15,592-square-foot mansion, the home was until recently afflicted with mold, which generated prolonged litigation.