Would CSP mitigate this?
From TFA:
> On every page that takes payment, set a connect-src rule that lists only the hosts you use.
(Though you should really be setting a default-src that only lists `self`.)
From TFA:
> On every page that takes payment, set a connect-src rule that lists only the hosts you use.
(Though you should really be setting a default-src that only lists `self`.)