# CVE-2024-38526: pdoc embeds link to malicious CDN if math mode is enabled

- Priority: **Routine**
- Reason: Not severe (CVSS 0, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-25 · Modified: 2025-02-13
- Aliases: SUSE-SU-2025:02037-1, GHSA-5vgj-ggm4-fg62, PYSEC-2026-1764, openSUSE-SU-2024:14187-1
- Record: https://cvemate.com/vulnerability/CVE-2024-38526 · JSON: https://cvemate.com/vulnerability/CVE-2024-38526/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
- EPSS: 3.832%, percentile 90.415%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mitmproxy pdoc: \< 14.5.1
- PyPI pdoc (PyPI): \< 14.5.1
- opensuse ghc-pandoc&distro=openSUSE Leap 15.6 (openSUSE): \< 3.1.11.1-150500.11.6.1
- opensuse netpbm&distro=openSUSE Tumbleweed (openSUSE): \< 11.7.0-1.1
- suse ghc-pandoc&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6 (SUSE Linux Enterprise): \< 3.1.11.1-150500.11.6.1
- suse ghc-pandoc&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7 (SUSE Linux Enterprise): \< 3.1.11.1-150500.11.6.1

## 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>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502037-1/>
- <https://bugzilla.suse.com/1227690>
- <https://www.suse.com/security/cve/CVE-2024-38526>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38526>
- <https://github.com/mitmproxy/pdoc/commit/726b8f2e365fe8afeb3604a7c73d19b460395d58>
- <https://github.com/mitmproxy/pdoc>
- <https://pypi.org/project/pdoc>
- <https://github.com/advisories/GHSA-5vgj-ggm4-fg62>

---

Data as of 2026-12-05T14:04:11.561Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
