title_body: Cleaning coffee mold from a cup
upvoted_answer: It is safe.
  If you clean it by either putting it in a dishwasher on a high temperature setting or sterilizing it with boiling water, you will be fine.
  This is not specifically a question about coffee but about food safety in general, so usual measures apply:
  
  Scrape off as much of the mold as possible
  Put the dish into (boiling) hot water for at least 15min
  
  It is a similar procedure to preparing glass jars for jam, you try to boil away as much bacteria and funghi as possible.