logoalt Hacker News

edoceo • today at 4:40 PM • 1 reply • view on HN

Would CSP mitigate this?


Replies

deathanatos • today at 5:14 PM

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`.)

➕ show 1 reply