<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0" -->

---
title: Polyfill.js Supply Chain Attack Impacts Over 380,000...
description: The JavaScript library Polyfill.io has been compromised in a significant supply chain attack, affecting over 380,000 hosts including major companies like...
canonical: https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Polyfill.js Supply Chain Attack Impacts Over 380,000 Hosts, Including Major Companies and WordPress Ecosystem | daily.dev
og:description: The JavaScript library Polyfill.io has been compromised in a significant supply chain attack, affecting over 380,000 hosts including major companies like...
og:url: https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0
og:image: https://api.daily.dev/og/posts/McK65TWB0.png
og:image:alt: Polyfill.js Supply Chain Attack Impacts Over 380,000 Hosts, Including Major Companies and WordPress Ecosystem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Polyfill.js Supply Chain Attack Impacts Over 380,000 Hosts, Including Major Companies and WordPress Ecosystem

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 3 upvotes · 0 comments

## Summary

The JavaScript library Polyfill.io has been compromised in a significant supply chain attack, affecting over 380,000 hosts including major companies like WarnerBros and Mercedes-Benz. The attack involves redirecting users to malicious sites and has impacted numerous websites across both private and public sectors. Steps have been taken to mitigate the issue, but developers are urged to remove compromised scripts, use trusted CDNs, and conduct continuous security updates to prevent further risks.

## Content

# Polyfill.io Supply Chain Attack Impacts Hundreds of Thousands, Including Major Companies and Public Services

The JavaScript library Polyfill.io has been compromised in a significant supply chain attack, affecting over 380,000 hosts, including major companies such as WarnerBros and Mercedes-Benz. Research has revealed that the extent of the attack is nearly four times worse than initially reported, impacting approximately 384,773 websites, encompassing both private sector giants and important public and government services.

## Details of the Attack

The attack, linked to a Chinese company named Funnull, involves redirecting users to malicious sites under specific conditions. This threat highlights serious vulnerabilities in web security as many websites continue to use the tainted Polyfill.io service despite the known risks. 

Namecheap and Cloudflare have taken steps to mitigate the issue by blocking or rerouting traffic to ensure user safety. However, the Polyfill.io compromise could be part of a broader campaign involving other domains, thus posing wider risks.

## Impact on WordPress and Other Ecosystems

A security advisory evaluating the impact on the WordPress ecosystem reported minimal direct effect on WordPress sites but acknowledged potential future risks. The attack involved attempts to inject malicious JavaScript to exploit Cross-Site Scripting (XSS) vulnerabilities, urging developers to take proactive measures.

## Recommendations

To mitigate the risks associated with the Polyfill.io attack, developers are advised to take the following actions:

- **Remove compromised scripts:** Immediately discontinue the use of compromised JavaScript libraries from Polyfill.io.
- **Use trusted CDNs:** Shift to content delivery networks (CDNs) known for their stringent security measures.
- **Conduct continuous security updates:** Ensure all web assets are regularly tested and updated to stay ahead of potential vulnerabilities.

In conclusion, the Polyfill.io supply chain attack underscores the necessity for robust security practices and the importance of staying vigilant against potential vulnerabilities in library dependencies.

---

Tags: [#security](https://daily.dev/tags/security), [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#cyber](https://daily.dev/tags/cyber)

[View this post on daily.dev](https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Polyfill.js Supply Chain Attack Impacts Over 380,000 Hosts, Including Major Companies and WordPress Ecosystem","url":"https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0"},"datePublished":"2024-07-05T04:59:43.802Z","dateModified":"2024-07-05T17:03:03.933Z","description":"The JavaScript library Polyfill.io has been compromised in a significant supply chain attack, affecting over 380,000 hosts including major companies like...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9560b896f5a18f5e784ad903fe240a8b?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9560b896f5a18f5e784ad903fe240a8b?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/polyfill-js-supply-chain-attack-impacts-over-380-000-hosts-including-major-companies-and-wordpress--mck65twb0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,webdev,javascript,cyber","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Polyfill.js Supply Chain Attack Impacts Over 380,000 Hosts, Including Major Companies and WordPress Ecosystem"}]}
```

