CVE-2024-38526
pdoc embeds link to malicious CDN if math mode is enabled
Published: Jun 25, 2024Updated: Nov 21, 2024 Sources: CVE List NVD GHSA BDU
7.2CVSSHIGH
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 Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:LConfidentialityLow
I:NIntegrityNone
A:LAvailabilityLow
Affected Products
Exploitability
Official Patch Available
References
https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
github.com
https://github.com/mitmproxy/pdoc/pull/703
github.com
https://sansec.io/research/polyfill-supply-chain-attack
sansec.io
and 6 more references View all →
Timeline
Published
Jun 25, 2024
Last Updated
Nov 21, 2024
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2024-38526 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows