The canvas has been tainted by cross-origin data: fixing getImageData
Our avatar cropper threw SecurityError on getImageData for images from our CDN. The img had no crossOrigin attribute, and once we added it the browser reused a cached response without CORS headers. Setting crossOrigin, CORS and Vary: Origin fixed it.