CVE-2024-38526
HIGH
Published Jun 26, 2024
Modified Apr 15, 2026
Description
pdoc provides API Documentation for Python Projects. Documentation generated with `pdoc --math` linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. This issue has been fixed in pdoc 14.5.1.
Is your site exposed to CVE-2024-38526?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
7.2
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
References
Other References
https://github.com/mitmproxy/pdoc/pull/703
https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
https://sansec.io/research/polyfill-supply-chain-attack
https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526
https://github.com/mitmproxy/pdoc/pull/703
https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
https://sansec.io/research/polyfill-supply-chain-attack
https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526
Frequently Asked Questions
What is CVE-2024-38526? +
pdoc provides API Documentation for Python Projects. Documentation generated with `pdoc --math` linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. This issue has been fixed in pdoc 14.5.1. It has a CVSS v3.1 base score of 7.2 (HIGH).
How severe is CVE-2024-38526? +
CVE-2024-38526 has a CVSS v3.1 score of 7.2 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
How do I check if I'm vulnerable to CVE-2024-38526? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.