pdoc embeds link to malicious CDN if math mode is enabled
Priority MEDIUM 42CWE-1395Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03832 90th percentileScored 2026-11-07
Fix Fixed pdoc (mitmproxy): 14.5.1pdoc (PyPI): 14.5.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mitmproxy | pdoc | before 14.5.1 | 14.5.1 | Patch available | CNA |
| — | pdoc (PyPI) | before 14.5.1 | 14.5.1 | Patch available | GHSA-5vgj-ggm4-fg62 |
- pdoc Vendormitmproxy Affected before 14.5.1 Fixed in 14.5.1 Patch available CNA
- pdoc (PyPI) Vendor— Affected before 14.5.1 Fixed in 14.5.1 Patch available GHSA-5vgj-ggm4-fg62
Remediation
- Fix · CNA pdoc (mitmproxy) Fixed in 14.5.1
- Fix · GHSA-5vgj-ggm4-fg62 pdoc (PyPI) Fixed in 14.5.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38526
- 2026-10-03 Alias added: GHSA-5vgj-ggm4-fg62
- 2026-10-21 EPSS moved to the 90th–95th percentile
References
Other 6
- https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
- https://github.com/mitmproxy/pdoc/pull/703
- 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/commit/726b8f2e365fe8afeb3604a7c73d19b460395d58
- https://github.com/mitmproxy/pdoc
More mitmproxy vulnerabilities
- TI-2022-08580 Insufficient Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
- TI-2025-17002 Mitmweb API Authentication Bypass Using Proxy Server CVSS 4.0HIGH 8.2
- TI-2021-16599 Lacking Protection against HTTP Request Smuggling in mitmproxy CVSS 3.1CRITICAL 9.8
- TI-2018-10406 mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py. CVSS 3.0HIGH 8.8
- TI-2026-29342 ProxyAuth Addon LDAP Injection in mitmproxy CVSS 3.1MEDIUM 4.8
Sources
- CVE-2024-38526 · CVE Program
- CVE-2024-38526 · NVD
- FIRST EPSS
- GHSA-5vgj-ggm4-fg62 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38526 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences