To answer your question,...
The wood should be discarded, or at a minimum should be cleaned with bleach to kill the mold spores, but this may damage the wood beyond repair. It will difinitely discolor the wood. If not, the mold will return if you just wash it off with soapy water. The mold spores will be deposited in the wood when the mold blooms, which is what you're seeing (mold bloom). This has happened because the foam humidifier has been over charged with water (hopefully distilled) and the moisture has run out and collected in the wood holder. If you haven't been using distilled water then that is the source of the original mold spores. If using foam credp type humidifiers always use distilled water to charge them, or a prepared 50/50 solution of distilled water and propylene glycol.