By exposing vulnerable graphics drivers to arbitrary web code, WebGL has allowed websites to take screenshots of your desktop (
https://www.mozilla.org/en-US/security/advisories/mfsa2013-8...) and break out of virtual machines (
https://blog.talosintelligence.com/nvidia-graphics-driver-vu...), to use two examples I found via a web search.