CVE-2024-38526 — pdoc provides API Documentation for Python Projects
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.
Published
2024-06-25T23:53:54.677Z
Last modified
2025-02-13T17:53:15.493Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L/E:H/RL:O/RC:C/MC:N/MI:N/MA:N
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| mitmproxy | pdoc | < 14.5.1 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2024-06-25T23:53:54.677Z
- Last modified: 2025-02-13T17:53:15.493Z
09References
- github.com — https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
- github.com — https://github.com/mitmproxy/pdoc/pull/703
- sansec.io — https://sansec.io/research/polyfill-supply-chain-attack
- www.vicarius.io — https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →