Skip to content

← Public intelligence

PyPI package

pdoc

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.2PyPIAmendedPublished

    pdoc embeds link to malicious CDN if math mode is enabled

    CVE-2024-38526 · GHSA-5vgj-ggm4-fg62

    Affected
    • PyPI pdoc < 14.5.1
    Fixed in
    14.5.1· Vendor fix available
    Issue
    Impact Documentation generated with pdoc --math linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. Users who produce documentation with math mode should update immediately. All other users are unaffected. Patches This issue has been fixed in pdoc 14.5.1. References https://github.com/mitmproxy/pdoc/pull/703 https://sansec.io/research/polyfill-supply-chain-attack Timeline - [2024-06-25] https://sansec.io/research/polyfill-supply-chain-attack is published. - [2024-06-25 20:54 UTC] Issue reported to the pdoc project by @adhintz. - [2024-06-25 21:33 UTC] Patched version released. - [2024-06-25 21:37 UTC] Security advisory published. - [2024-06-25 23:49 UTC] CVE-2024-38526 assigned by GitHub.

    Recommended action: Upgrade to 14.5.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →