Read the docs
TI-2024-25761 Aliases CVE-2024-38526GHSA-5vgj-ggm4-fg62

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

VendorProductAffected versionsFixed inStatusSource
mitmproxypdocbefore 14.5.114.5.1Patch availableCNA
—pdoc (PyPI)before 14.5.114.5.1Patch availableGHSA-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

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:mitmproxy:pdoc:*:*:*:*:*:*:*:*——mitmproxy
  • cpe:2.3:a:mitmproxy:pdoc:*:*:*:*:*:*:*:* Versions — — ·mitmproxy

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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-38526
  2. 2026-10-03 Alias added: GHSA-5vgj-ggm4-fg62
  3. 2026-10-21 EPSS moved to the 90th–95th percentile

References

  • 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