CVE-2024-38526: pdoc embeds link to malicious CDN if math mode is enabled
Vulnerability summary
CVE-2024-38526 is a high (CVSS 7.2) vulnerability in mitmproxy pdoc. EPSS estimates a 3.83% chance of exploitation in the next 30 days, higher than 90.4% of scored vulnerabilities.
Not severe (CVSS 0, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 25-06-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA0.0UnknownCVSS: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:NDiffers
- OSV · PypiEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
EPSS trend
Probability
3.83%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse2 products
- ghc-pandoc&distro=openSUSE Leap 15.6< 3.1.11.1-150500.11.6.1
- netpbm&distro=openSUSE Tumbleweed< 11.7.0-1.1
Suse2 products
- ghc-pandoc&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 3.1.11.1-150500.11.6.1
- ghc-pandoc&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 3.1.11.1-150500.11.6.1
Mitmproxy1 product
- pdoc< 14.5.1
PyPI1 product
- pdoc< 14.5.1
4 vendors · 6 products
References
12 links- github.com/mitmproxy/pdocPACKAGE
Show all 12 references
- pypi.org/project/pdocPACKAGE