Scripts from hijacked CDNs (polyfill.io)
Some once-popular script CDNs were taken over and now serve malware. Remove any script that loads from them.
What it is
In 2024 the polyfill.io domain changed owners and began sending malicious JavaScript to the sites that loaded it. Sister domains were used the same way.
Why it matters
A script tag gives that domain full control of your page: it can redirect visitors, steal logins, or inject ads.
How to fix it
<!-- delete --> <script src="https://polyfill.io/v3/polyfill.min.js"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js"></script>
Search your whole codebase and your HTML templates, including analytics snippets pasted in by AI tools.
Does your site have this problem?
Kompile Scan checks for this and the other problems in these guides in under a minute. Free for one site.