|
|
|
|
|
by creatonez
3206 days ago
|
|
Just one example. The canvas API can grab the image data on the canvas. If you could rasterize arbitrary DOM nodes then you could very easily fingerprint users by, say, checking which fonts are installed. You could also load external resources such as images and iframes bypassing same-origin policy, so if your bank's website was configured incorrectly, a malicious site could steal information by taking screenshots of a canvas. |
|
[0] https://html.spec.whatwg.org/multipage/canvas.html