Users of Yahoo's instant messaging platform are being warned to avoid webcam invites from unknown sources after a vulnerability in the platform was disclosed this week.