Re:Polyfill supply chain attack hits 100K+ sites
by progmetaldev on Tuesday June 25, 2024 @04:47PM
(#40793395)
Definitely for browser extensions. It's become more difficult with needing to set up CORS, but like with most things that are difficult, you end up with developers that "open the floodgates" and allow as much as possible to get the job done without understanding the implications.
[ Parent
| on HN ]
Re:Polyfill supply chain attack hits 100K+ sites
by bawolff on Wednesday June 26, 2024 @02:37PM
(#40803076)
CORS is not required to run third party scripts. Cors is about reading data from third parties not executing scripts from third parties.
(Unless you set a Cross-Origin Resource Policy header, but that is fairly obscure)