{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38526","id":"CVE-2024-38526","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.","descriptionLong":"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.","published":"2024-06-25T23:53:54.677Z","updated":"2026-10-28T02:30:38.043907417Z","reserved":"2024-06-18T16:37:02.728Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":0,"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","rating":"none","source":"GitHub_M"},"metrics":[{"version":"3.1","score":0,"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","rating":"none","source":"GitHub_M"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"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","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","rating":"high","source":"GitHub"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","rating":"high","source":"OSV"}],"rating":"none","products":["mitmproxy pdoc"],"affectedProducts":[{"vendor":"mitmproxy","product":"pdoc","defaultStatus":null,"versions":[{"version":"< 14.5.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pdoc","purl":"pkg:pypi/pdoc","ranges":["<14.5.1"],"fixed":["14.5.1"],"advisory":"GHSA-5vgj-ggm4-fg62"}],"cwes":["CWE-1395"],"aliases":["GHSA-5vgj-ggm4-fg62","PYSEC-2026-1764"],"references":[{"url":"https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/mitmproxy/pdoc/pull/703","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://sansec.io/research/polyfill-supply-chain-attack","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38526.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38526","tags":["advisory"]},{"url":"https://github.com/mitmproxy/pdoc/commit/726b8f2e365fe8afeb3604a7c73d19b460395d58","tags":["web"]},{"url":"https://github.com/mitmproxy/pdoc","tags":["package"]},{"url":"https://pypi.org/project/pdoc","tags":["package"]},{"url":"https://github.com/advisories/GHSA-5vgj-ggm4-fg62","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.03832,"epssPercentile":0.90321,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38526","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38526","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38526","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5vgj-ggm4-fg62","ok":true,"note":"GHSA-5vgj-ggm4-fg62"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38526","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}