CVE-2024-38537: Inclusion of Untrusted polyfill.io Code Vulnerability in fides.js
Note On Thursday, June 27, 2024, Cloudflare and Namecheap intervened at a domain level to ensure polyfill.io and its subdomains could not resolve to the compromised service, rendering this vulnerability unexploitable. The following sections describe this vulnerability prior to the domain level intervention, when it was still exploitable.
Published Jul 2, 2024 · Updated Jul 5, 2024
Affected packages
ethyca-fides
- Ecosystem
- PyPI
- Affected
- < 2.39.1
- Fixed in
- 2.39.1
- Check
pip show ethyca-fides
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Note
On Thursday, June 27, 2024, Cloudflare and Namecheap intervened at a domain level to ensure polyfill.io and its subdomains could not resolve to the compromised service, rendering this vulnerability unexploitable.
The following sections describe this vulnerability prior to the domain level intervention, when it was still exploitable.
Impact
fides.js, a client-side script used to interact with the consent management features of Fides, used the polyfill.io domain in a very limited edge case, when it detected a legacy browser such as IE11 that did not support the fetch standard.
On June 25th, 2024, Sansec published the following regarding the polyfill.io domain.
The polyfill.js is a popular open source library to support older browsers. 100K+ sites embed it using the cdn.polyfill.io domain... However, in February this year, a Chinese company bought the domain and the Github account. Since then, this domain was caught injecting malware on mobile devices via any site that embeds cdn.polyfill.io.
Therefore it was possible for users of legacy, pre-2017 browsers who navigate to a page serving fides.js to download and execute malicious scripts from the compromised domain.
No exploitation of fides.js via polyfill.io has been identified at this time, but other script developers who use https://cdn.polyfill.io/v2/polyfill.min.js have reported redirects to malicious websites.
Patches
The vulnerability has been patched in Fides version 2.39.1. Users are advised to upgrade to this version or later to secure their systems against this threat.
Workarounds
Prior to the domain level intervention, there were no server-side workarounds and the confidentiality, integrity, and availability impacts of this vulnerability were high.
Clients could ensure they were not affected by using a modern browser that supported the fetch standard. caniuse.com/fetch estimates that 97.52% of browser users use a browser that supports the fetch standard.
References
- https://sansec.io/research/polyfill-supply-chain-attack
- https://github.com/ethyca/fides/pull/5026/
- https://fetch.spec.whatwg.org/
References
- https://github.com/ethyca/fides/security/advisories/GHSA-cvw4-c69g-7v7m
- https://github.com/ethyca/fides/pull/5026
- https://nvd.nist.gov/vuln/detail/CVE-2024-38537
- https://github.com/ethyca/fides/commit/868c4d629760572192bd61db34f5a4458ed12005
- https://fetch.spec.whatwg.org
- https://sansec.io/research/polyfill-supply-chain-attack
- https://github.com/advisories/GHSA-cvw4-c69g-7v7m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-44541
ethyca-fides has a DOM-based XSS vulnerability in fides.js via fides_description override
high7.0May 14, 2026CVE-2026-42303
Ethyca Fides has a Privacy Request Identity Verification Bypass Vulnerability via Duplicate Detection
medium6.1May 5, 2026CVE-2025-57766
Fides' Admin UI User Password Change Does Not Invalidate Current Session
low4.8Sep 8, 2025CVE-2025-57815
Fides has a Lack of Brute-Force Protections on Authentication Endpoints
low6.5Sep 8, 2025CVE-2025-57816
Fides Webserver API Rate Limiting Vulnerability in Proxied Environments
medium7.5Sep 8, 2025CVE-2025-57817
Fides Webserver API is Vulnerable to OAuth Client Privilege Escalation
high7.2Sep 8, 2025
