CVE-2024-38526: vulnerability in mitmproxy pdoc
pdoc embeds link to malicious CDN if math mode is enabled
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Prioritize patching. It exploitation observed in the wild.
pdoc, a tool for creating Python documentation, included links to a CDN service (polyfill.io) that was sold and now distributes malicious code when the math feature was enabled. This could cause malicious scripts to run in users' browsers when viewing the generated documentation.
pdoc versions prior to 14.5.1 embed third-party CDN links in generated HTML documentation when math mode is enabled. The polyfill.io domain changed ownership and now serves malicious JavaScript, creating a supply chain risk for documentation consumers. The attack vector is passive delivery through compromised CDN resources referenced in HTML output.