There are risks because you’re boiling water near an electric outlet. Still, all such risks can be easily mitigated by following safety guidelines in the instruction manual. Today, good quality electric kettles use food-grade materials, quality standards, etc. So it is safe to use. Therefore always go for quality rather than buying a cheap one.