{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-38526",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1395: Dependency on Vulnerable Third-Party Component",
                        "cweId": "CWE-1395"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "mitmproxy",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "pdoc",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 14.5.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62",
                "refsource": "MISC",
                "name": "https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62"
            },
            {
                "url": "https://github.com/mitmproxy/pdoc/pull/703",
                "refsource": "MISC",
                "name": "https://github.com/mitmproxy/pdoc/pull/703"
            },
            {
                "url": "https://sansec.io/research/polyfill-supply-chain-attack",
                "refsource": "MISC",
                "name": "https://sansec.io/research/polyfill-supply-chain-attack"
            },
            {
                "url": "https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526",
                "refsource": "MISC",
                "name": "https://www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5vgj-ggm4-fg62",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.2,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L",
                "version": "3.1"
            }
        ]
    }
}