{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "14.5.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9af869689fef2f8134ca13b577e0fdb7e55b672b"
            }
          ],
          "repo": "https://github.com/mitmproxy/pdoc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5vgj-ggm4-fg62"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1395"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38526.json"
  },
  "details": "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.",
  "id": "CVE-2024-38526",
  "modified": "2026-04-01T23:09:03.480944560Z",
  "published": "2024-06-25T23:53:54.677Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://sansec.io/research/polyfill-supply-chain-attack"
    },
    {
      "type": "WEB",
      "url": "https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38526.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38526"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mitmproxy/pdoc/pull/703"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V3"
    }
  ],
  "summary": "pdoc embeds link to malicious CDN if math mode is enabled"
}