The recent security problems on the Apple Safari and Google Chrome web browsers have been described as 'shocking'.