{"id":"CVE-2024-38526","state":"PUBLISHED","title":"pdoc embeds link to malicious CDN if math mode is enabled","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.","publishedAt":"2024-06-25T23:53:54.677Z","updatedAt":"2025-02-13T17:53:15.493Z","severity":{"score":0,"label":"None","version":"3.1","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["mitmproxy pdoc"],"affected":[{"vendor":"mitmproxy","product":"pdoc","versions":[{"version":"< 14.5.1","status":"affected"}]}],"references":["https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","https://github.com/mitmproxy/pdoc/pull/703","https://sansec.io/research/polyfill-supply-chain-attack","https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526"],"weaknesses":["CWE-1395"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38526.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38526","state":"PUBLISHED","datePublished":"2024-06-25T23:53:54.677Z","dateUpdated":"2025-02-13T17:53:15.493Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-18T16:37:02.728Z"},"containers":{"cna":{"title":"pdoc embeds link to malicious CDN if math mode is enabled","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mitmproxy","product":"pdoc","versions":[{"version":"< 14.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","name":"https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mitmproxy/pdoc/pull/703","name":"https://github.com/mitmproxy/pdoc/pull/703","tags":["x_refsource_MISC"]},{"url":"https://sansec.io/research/polyfill-supply-chain-attack","name":"https://sansec.io/research/polyfill-supply-chain-attack","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":0,"baseSeverity":"NONE","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"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","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1395","lang":"en","description":"CWE-1395: Dependency on Vulnerable Third-Party Component","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-07-24T16:18:22.866Z"},"source":{"advisory":"GHSA-5vgj-ggm4-fg62","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mitmproxy","product":"pdoc","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"14.5.1","versionType":"custom"}],"cpes":["cpe:2.3:a:mitmproxy:pdoc:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-14T14:23:46.307681Z","id":"CVE-2024-38526","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-14T14:25:31.686Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","name":"https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/mitmproxy/pdoc/pull/703","name":"https://github.com/mitmproxy/pdoc/pull/703","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://sansec.io/research/polyfill-supply-chain-attack","name":"https://sansec.io/research/polyfill-supply-chain-attack","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:12:25.740Z"}}]}}}