CVE-2024-38526noneobserved exploitationCWE-1395

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.

25Vexday Risk Score

Prioritize patching. It exploitation observed in the wild.

ssvc Attendcvss 0epss 3.8%
from disclosure to weapon
Published on NVDJun 25
Observed exploitation+14d
In short

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.

Technical detail

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.

Summary generated and translated by AI from the official 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: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:N
Affected products
mitmproxy · pdoc