CVE-2024-38526
HIGH 7.2CVSS 3.1pdoc embeds link to malicious CDN if math mode is enabled
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
- 26 Jun 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Also known as
- GHSA-5vgj-ggm4-fg62PYSEC-2026-1764
- Sources
- NVDJSONOSV GHSA-5vgj-ggm4-fg62JSONOSV PYSEC-2026-1764JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pdoc | < 14.5.1 | 14.5.1 |
References
- https://github.com/mitmproxy/pdoc/pull/703 · WEB
- https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62 · WEB
- https://sansec.io/research/polyfill-supply-chain-attack · WEB
- https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38526 · ADVISORY
- https://github.com/mitmproxy/pdoc/commit/726b8f2e365fe8afeb3604a7c73d19b460395d58 · WEB
- https://github.com/mitmproxy/pdoc · PACKAGE
- https://pypi.org/project/pdoc · PACKAGE
- https://github.com/advisories/GHSA-5vgj-ggm4-fg62 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Jun 2024)